[PHP] Re: testing for blank var

2002-03-21 Thread Julio Nobrega Trabalhando
if (ereg(^[[:blank:]]*$,$img_url)) { // $img_url is blank } -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 Robert McPeak [EMAIL PROTECTED] wrote in

[PHP] Re: testing for blank var

2002-03-21 Thread Marcel Besancon
Hi Robert, maybe your variable doesn't exist. Try using if(!isset($variable)) { missing-message } else { show $variable } I hope this helps. Bye, Marcel -- registered Fli4l-User #0388 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: