noussh Posted July 26, 2007 Share Posted July 26, 2007 Hi, I am working on a CMS for small web site, I am using 2 images in the product template (banner / thumb nail). Can i store image in a database? or Should i just mention the 'path"? Thanks, noussh. Link to comment https://forums.phpfreaks.com/topic/61871-can-we-store-images-in-mysql/ Share on other sites More sharing options...
dewey_witt Posted July 26, 2007 Share Posted July 26, 2007 Yes you can store an Image in mysql the feild has to be a "blob" field. but its tricky. I would just upload to a file and put the name into mysql.. Its easier and more efficiant. Link to comment https://forums.phpfreaks.com/topic/61871-can-we-store-images-in-mysql/#findComment-308098 Share on other sites More sharing options...
noussh Posted July 26, 2007 Author Share Posted July 26, 2007 ok, cool.. i will just mention the path. thanks dewin.. Link to comment https://forums.phpfreaks.com/topic/61871-can-we-store-images-in-mysql/#findComment-308101 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.