By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,831 Members | 2,237 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,831 IT Pros & Developers. It's quick & easy.

Retrive the Image From the mysql database

P: 1
hai
I store the image to the Mysql database its sucess
so how can i get the IMAGE from the database
please sent the code .........URGENT

thanks
Apr 30 '07 #1
Share this Question
Share on Google+
1 Reply


100+
P: 136
Hi,

I think in MySql u have stored the image with field-type longblob. Now for retrieving the image from database use same @mysql_query() and store a row using @mysql_fetch_assoc(). Now the store the image using $img = $row['imagefile'];


hai
I store the image to the Mysql database its sucess
so how can i get the IMAGE from the database
please sent the code .........URGENT

thanks
susen
Apr 30 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.