How do I check if a variable is blank or not. I am returning data from a MySQL database and if a field is empty I would like to do something different.
I tried if($field["Name"] == "") { do this } else { do this } It does not work right. Actually, at one point, it was working in the exact opposite manner. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php