Posted by severin on 06/24/07 19:27
Hi all,
What is the proper syntax (if exists) for:
switch( $myswitch ){
case "str1" | "str2" | "str3" | "str4":
$_th = "user/".$url."/_thumb/".$file;
break;
default:
$_th = $gfx."/file.gif";
}
U understand that i want to do the same thing in case str1,str2,str3..
I try also {case "str1" || "str2" || "str3" || "str4":}
It doesn't work.
2u.
Navigation:
[Reply to this message]
|