Gerard Samuel <[EMAIL PROTECTED]> wrote:
> With register_globals off, switch() has a little handicap.
> ie
> switch($foo)
> {
>     ....
>     break;
> }
>
> $foo, is now illegal/not set.

Why can't you just use switch($_POST['foo'])? Or did I leave my brain at
home today?

--
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to