Re: [PHP] Empty $_POST after submit.

[email protected] ("[email protected]")
Newsgroups php.general
Message-ID <[email protected]>

> Ashley Sheridan <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.