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

How to insert image in mysql database via php ?

P: 39
How to insert image in mysql database via php and how to retrieve in php ?
Jan 2 '10 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 2.5K+
P: 3,503
Personally, I would not do that. I would rather keep the image(s) in a folder or other location and store that location information in the database. This will also cut down on the size of your database overall.

But, if you are intent on doing this, you can have a look at this link and see if it is helpful. If not, there is always Google.


Jan 3 '10 #2

P: 39
Your right friend ? Will you tell me how to i access images from folder with code?
I am newbie in php world ..
Jan 3 '10 #3

Post your reply

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