Re: Empty $_POST after submit.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx> hat am 4. April 2013 um 13:02
> geschrieben:

>
> I've noticed the first line looks a little odd. It might be valid, just
> probably not the way I've ever done it. For my own sanity, could you try
> changing it to:
>
> if (isset($_POST['lastname']) && isset($_POST['lastname']))
>

No, this is totally valid to check if all values are set

> If multiple parameters are supplied then isset() will return TRUE only if all
> of the parameters are set. Evaluation goes from left to right and stops as
> soon as an unset variable is encountered.

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





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux