nosmasu Posted June 20, 2008 Share Posted June 20, 2008 hello freinds ! can any body show me how to uppload a picture in to mysql database and display it Link to comment https://forums.phpfreaks.com/topic/111150-how-can-i-uppload-a-picture-into-mysql/ Share on other sites More sharing options...
andrewgarn Posted June 20, 2008 Share Posted June 20, 2008 Upload the image onto the filehosting and save the filename to the database, then you can echo the filename into http image code to display it. Link to comment https://forums.phpfreaks.com/topic/111150-how-can-i-uppload-a-picture-into-mysql/#findComment-570423 Share on other sites More sharing options...
DarkWater Posted June 20, 2008 Share Posted June 20, 2008 I'd just upload the image to the server and put a filename in the database... But I guess you could make a BLOB field inside MySQL, store the binary image data to it, and then make a separate script to display it. Link to comment https://forums.phpfreaks.com/topic/111150-how-can-i-uppload-a-picture-into-mysql/#findComment-570425 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.