468,244 Members | 2,042 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,244 developers. It's quick & easy.

How to save image to mysql database in php?

hi friends,

I am new in php and i am trying to save image to database. Please provide a sample.
Sep 23 '08 #1
2 9408
surajhs
13
Hey why you want to store image in database just store name or path and place that name in image tag through fetching records.
Sep 23 '08 #2
Markus
6,050 Expert 4TB
Hey why you want to store image in database just store name or path and place that name in image tag through fetching records.
Sometimes it can be more efficient to store the image in a BLOB data type.

Hey there, Rajesh.

Check out this sweet howto that our great Atli wrote.

Cheers.
Sep 23 '08 #3

Post your reply

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

Similar topics

3 posts views Thread by Christopher Mouton | last post: by
10 posts views Thread by John Smith | last post: by
reply views Thread by NuBBeR | last post: by
7 posts views Thread by eholz1 | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.