displaying images

From: Date: Thu, 24 Jan 2002 04:34:16 +0000
Subject: displaying images
Groups: php.db 
Request: Send a blank email to php-db+get-16134@lists.php.net to get a copy of this message
Hello, I'm storing image URLs in a varchar text field for items in my database. The problem is not all the items in the database have images, so when i do a query that displays multiple results some have images and some have the nasty red Xs. Is there a way do some kind of IF statement. If the image url is there, display image if not display No picture available or something like that? Thanks in advance, Mike

« previous php.db (#16134) next »