On 05 Apr 2001 11:53:21 +0200, Christian Reiniger wrote:
switch ($foo) {
case "bar1":
$foobar="fooey";
break;
<etc...>
default:
$foobar = "NoBar";
}
> > I have a list of conditions I want to test against.
> > In ASP, I would do:
> > How do I do the equivelent in PHP?
> Try reading the manual.
--
php developer / CoreTrek AS | Old programmers never die, they just hit
Sandnes / Rogaland / Norway | account block limit.
web: http://www.moijk.net/ |
--
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]