Re: [PHP-DB] Not updating certain fields in same row

[email protected] (Evert Lammerts)
Newsgroups php.db
Message-ID <[email protected]>
Correction:
> Also, this condition:
>
> [quote]
>
> if (!isset($_POST['txtLoginName']) || empty($_POST['txtLoginName']))
>
> [/quote]
>
> is true if and only if no form element by the name txtLoginName 
> existed on the previous page - and on top of that, empty() does the 
> same as isset() and apart from that also checks whether, if the 
> variable has been set, it has a value (0, "", NULL or FALSE) that 
> evaluates to FALSE.
>
This condition is of course also true when the form element has existed 
but has no value.
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.