On Wednesday 04 April 2001 20:07, you wrote:
> I have a list of conditions I want to test against.
> In ASP, I would do:
>
> Select Case foo
> case "bar1"
> foobar = "fooey"
> case "bar2"
> foobar = "fooey2"
> case "bar3"
> foobar = "fooey3"
> case else
> foobar = "NoBar"
> End Select
>
> How do I do the equivelent in PHP?
Try reading the manual.
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Error 032: Recursion error - see error 032
--
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]