Re: isset empty or ...?

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

 



http://www.php.net/manual/en/types.comparisons.php
Maybe first table PHP functions comparison (including 'isset' and 'empty') could help you.


31.03.2013 в 8:53, John Taylor-Johnston написал(а):
> I'm using

if($mydata->>DPRresponselocationaddress1 != "")

> is this the same as

if (!isset($mydata->>DPRresponselocationaddress))
> http://php.net/manual/en/function.isset.php

> or

if (!empty($mydata->>DPRresponselocationaddress))
> http://php.net/manual/en/function.empty.php

> or is there another function I have not learned yet? I don't really get 
> the difference between isset and empty.

> John



-- 
С уважением, Александр Меньщиков

Тел.: +7 921 408-6-777
E-mail: amenshchikov@xxxxxxxxx

Attachment: pgpbLrJNvo82U.pgp
Description: PGP signature


[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