empty variable
| From: | Chris Mach | Date: | Sun, 19 Sep 2004 23:54:41 +0000 |
| Subject: | empty variable | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197222@lists.php.net to get a copy of this message | ||
What is the best way to determine if a variable is empty?
I have a feeling there is a better way than the way I'm doing it now...
if ($variable == "")
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 18-Sep-2004