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?

Thanks

-Allen
[EMAIL PROTECTED]


-- 
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]

Reply via email to