Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in PHP only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
PHP
How to save image to mysql database in php?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
rajeshkumarswain
New Member
Join Date:
Sep 2008
Posts:
1
#1
How to save image to mysql database in php?
Sep 23 '08, 05:11 AM
hi friends,
I am new in php and i am trying to save image to database. Please provide a sample.
surajhs
New Member
Join Date:
Jul 2008
Posts:
13
#2
Sep 23 '08, 05:33 AM
Hey why you want to store image in database just store name or path and place that name in image tag through fetching records.
Comment
Post
Cancel
Markus
Recognized Expert
Expert
Join Date:
Jun 2007
Posts:
6092
#3
Sep 23 '08, 10:18 AM
Originally posted by
surajhs
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.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment