Re: Trouble with switch statements
| From: | @ Edwin | Date: | Sun, 27 Oct 2002 07:55:05 +0000 |
| Subject: | Re: Trouble with switch statements | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121583@lists.php.net to get a copy of this message | ||
Hello,
"eNetwizard Developers Team" <developers@enetwizard.net> wrote:
>
> Use $_GET["select"] for the switch statement
>
> Some of the people on this list would even recommend you make another
> variable first, such as $userselect = $_GET["select"] and use
> $userselect as your switch statement, though I think it pointless.
Perhaps, in a simple switch($_GET["select"]) statement. But there are
times that it makes more sense to assign a $_GET[''] or $_POST[''] to
another variable ;)
- E
...[snip]...