RE: [PHP] Re: Loosing redirect in if...else
| From: | Alex Hogan | Date: | Fri, 12 Mar 2004 15:01:14 +0000 |
| Subject: | RE: [PHP] Re: Loosing redirect in if...else | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-180260@lists.php.net to get a copy of this message | ||
> (a) if you're using any values sent via the URL string (e.g.
> cf=0), you need to
> use $_GET, not $_POST;
Some of the information is coming from a form and the info from the url is
to call the different questions. They are all on one page in a switch
statement.
> (b) empty() will also evaluate to true if the value of the variable
> is zero.
That's right.... I forgot about that. Thanks.
alex
******************************************************************
The contents of this e-mail and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom it is addressed. The views stated herein do not
necessarily represent the view of the company. If you are not the
intended recipient of this e-mail you may not copy, forward,
disclose, or otherwise use it or any part of it in any form
whatsoever. If you have received this e-mail in error please
e-mail the sender.
******************************************************************