studgate Posted April 6, 2008 Share Posted April 6, 2008 Hi guys, I want to check a database and see if the image value is null or if it is empty. If it is empty, I want to replace it with an image in the images folder. if it not empty, insert the image. Anybody wants to help me with this please. Thank you in advance. Link to comment https://forums.phpfreaks.com/topic/99896-need-help-with-database-images/ Share on other sites More sharing options...
studgate Posted April 7, 2008 Author Share Posted April 7, 2008 ANYBODY!! Link to comment https://forums.phpfreaks.com/topic/99896-need-help-with-database-images/#findComment-510907 Share on other sites More sharing options...
studgate Posted April 8, 2008 Author Share Posted April 8, 2008 Anything, anybody ??? Link to comment https://forums.phpfreaks.com/topic/99896-need-help-with-database-images/#findComment-511633 Share on other sites More sharing options...
poleposters Posted April 8, 2008 Share Posted April 8, 2008 Heya, I needed something similar for a site I'm building. Just to make sure I understand, You want to use a default image wherever an image is not specified? I took care of this in my register script. The user would enter their info, If they did not choose to upload an image, the location of a default image would be inserted into the database instead. If you can be more specific about what you wanna achieve I might be able to help with some ideas. Link to comment https://forums.phpfreaks.com/topic/99896-need-help-with-database-images/#findComment-511805 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.