Re: isset empty or ...?
| From: | Александр Меньщиков | Date: | Sun, 31 Mar 2013 07:23:51 +0000 |
| Subject: | Re: isset empty or ...? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320719@lists.php.net to get a copy of this message | ||
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@gmail.com
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]