On Feb 20, 2013, at 9:10 AM, Jim Giner wrote:
> Basically it tells a savvy programmer whether or not his logic has caused the
> var in question to "exist". Many times it is important simply to know that,
> not what the var contains, which can lead to an error in processing.
>
> The isset() wi
isset checks if something is defined or if an array has a key with a value other
than null
read:
http://www.php.net/manual/en/function.isset.php#refsect1-function.isset-returnvalues
empty check isset PLUS if the value is not null, false, 0 and wahtever php
thinks is empty
read:
http://www.php.ne
On Tue, Feb 19, 2013 at 9:29 PM, John Taylor-Johnston
wrote:
>
> What is the difference between?
>
> if (empty... http://www.php.net/manual/en/function.empty.php "Determine
> whether a variable is empty"
> and
> if (isset... http://php.net/manual/en/function.isset.php "Determine if a
> variable
What is the difference between?
if (empty... http://www.php.net/manual/en/function.empty.php "Determine
whether a variable is empty"
and
if (isset... http://php.net/manual/en/function.isset.php "Determine if a
variable is set and is not *|NULL|*"
I have an .
If it is not checked, it is NOT
4 matches
Mail list logo