sheraz Posted February 23, 2009 Share Posted February 23, 2009 sir, is it possible to insert picture data in mysql. or how can i store and access pictures in mysql. Quote Link to comment https://forums.phpfreaks.com/topic/146549-picture-data-in-mysql/ Share on other sites More sharing options...
Maq Posted February 23, 2009 Share Posted February 23, 2009 Create a resource directory for your images and just store the paths for them in the database, wherever needed. Quote Link to comment https://forums.phpfreaks.com/topic/146549-picture-data-in-mysql/#findComment-769382 Share on other sites More sharing options...
corbin Posted February 24, 2009 Share Posted February 24, 2009 If you decide you actually want to store image data in the database (I advise against it for various reasons), you could use a BLOB field. Quote Link to comment https://forums.phpfreaks.com/topic/146549-picture-data-in-mysql/#findComment-769696 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.