Re: form validation
| From: | Daniel P. Brown | Date: | Sun, 14 Aug 2011 22:22:24 +0000 |
| Subject: | Re: form validation | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314527@lists.php.net to get a copy of this message | ||
On Sun, Aug 14, 2011 at 18:19, Ford, Mike <M.Ford@leedsmet.ac.uk> wrote:
>
> The last part of that test is redundant, since if $_POST['market'] is
> NULL isset($_POST['market'] will be FALSE.
Good catch. Didn't even notice I typed that. Not that it
would've done any damage, but a good reminder why code here is not
meant to be blindly copied-and-pasted.
--
</Daniel P. Brown>
Dedicated Servers, Cloud and Cloud Hybrid Solutions, VPS, Hosting
(866-) 725-4321
http://www.parasane.net/