RE: [PHP] newbie's question
| From: | Van Andel, Robert | Date: | Sat, 16 Nov 2002 00:09:21 +0000 |
| Subject: | RE: [PHP] newbie's question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124673@lists.php.net to get a copy of this message | ||
Don't know about a correct way but you can use if(empty($variable))
Robbert van Andel
-----Original Message-----
From: Frank Wang [mailto:wang960@yahoo.com]
Sent: Friday, November 15, 2002 7:10 AM
To: php-general@lists.php.net
Subject: [PHP] newbie's question
Hi,
what is the correct way of testing if a string is empty or not?
fw
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from all
computers."