On Wednesday 04 August 2004 17:25, Shaun wrote:
> I am trying to create some code to check whether a form has been submitted.
> The following code seems to print evertime, whether a form has been
> submitted or not:
>
> if (isset($_POST)) {
> echo '(isset($_POST))';
> }
>
> This seems most odd, could someone tell me why this happens?
Because $_POST is defined regardless. You need to check whether or not it's
empty().
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
panic("Unable to find empty mailbox for aha1542.
");
2.2.16 /usr/src/linux/drivers/scsi/aha1542.c
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php