note 17929 added to function.empty
| From: | jesper at ektv dot nu | Date: | Thu, 03 Jan 2002 19:21:57 +0000 |
| Subject: | note 17929 added to function.empty | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-24369@lists.php.net to get a copy of this message | ||
for an example if i have two variables that should be checked, how do o do? i've tried:
if (!empty($var1 || $var2) { echo..
and "" and ' ' with the variabels, how do i write it? nether works.. :)
--
http://www.php.net/manual/en/function.empty.php
http://master.php.net/manage/user-notes.php?action=edit+17929
http://master.php.net/manage/user-notes.php?action=delete+17929
http://master.php.net/manage/user-notes.php?action=reject+17929