Page 1 of 1

Storing/Retrieving images to/from MySQL DB with BLOB.

Posted: Wed Jan 05, 2011 5:33 am
by phazorRise
I want to store image into database. File size of image is restricted to between 100-150 KB per image. Retrieval is also needed.Image can be of type GIF/JPEG/PNG.
I have written a code but it's not with me. And I don't have code with me now to show you as I'm in a Cafe. Help. Give me some link atleast.
Thank You !

Re: Storing/Retrieving images to/from MySQL DB with BLOB.

Posted: Wed Jan 12, 2011 8:14 pm
by thecodewall
try to read this post. http://codewall.blogspot.com/2011/01/th ... rting.html
codewall.blogspot.com/2011/01/this-simple-tutorial-is-about-inserting.html
I think may help.

Re: Storing/Retrieving images to/from MySQL DB with BLOB.

Posted: Sun Jan 16, 2011 11:07 pm
by phazorRise
thanx for providing link. i appreciate.

Re: Storing/Retrieving images to/from MySQL DB with BLOB.

Posted: Wed Jan 26, 2011 6:24 am
by Aleroth
okay i get how u can add one image to the table in one form, but how do u add 3 images at the same time with 3 sepperate inputs in one form on one page to the pics table?