Jump to content

Handling Images pulled from a Database?


stublackett

Recommended Posts

Hi,

 

I have an Image1 and Image2 field in my Database

 

it stores the URL String for the image in the Database i.e :

directoryimages/cards.gif

 

The user has the OPTION to upload up to 2 images, What I'd like to do is if the user hasnt uploaded say a second image.

Instead of the browser displaying the nasty cross that says it cant find the image, To replace that with an image possibly saying

 

"No Image Available" or something of that sort

 

Is it possible to do that?

Link to comment
https://forums.phpfreaks.com/topic/115199-handling-images-pulled-from-a-database/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.