Your best bet is to do some isset() calls:

eg

if(isset($row['imageurl']))
{
 $image=$row['imageurl'];
}
else
{
 /*maybe report the problems or handle it like this...*/
 $image=$default_image_url;
 /*where you have already set up $default_image_url to point somewhere
sensible*/
}

Cheers

--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to