Same as C
switch($something)
{
case "this": do that;break;
case "those":case "them": do other; break
...
default: print error
}
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] switch with multiple case Christian Dechery
- RE: [PHP] switch with multiple case Matt Williams
- Re: [PHP] switch with multiple case Yasuo Ohgaki
- Phil Driscoll

