Forgot Password / Register
Site Statistics
Total Members: 520
Total Tutorials: 242
Newsest User: 8884244477
Todays Unique Hits: 897
0 Users 8 Guests Online
Forum Index » PHP + MySQL » [REQ]U pload image to mysql
Posted on Tuesday 3rd February 2009 at 11:30 PM
awo
templates/default/images/noavatar.png's Avatar
Newbie
Some can make a tutorials how to upload a Image to sql and a tutorials to show the image from sql? :)
Posted on Tuesday 3rd February 2009 at 11:47 PM
Adam981
templates/default/images/noavatar.png's Avatar
Junior Member
http://rmb-scripting.com/tutorials.php?tutorial&tid=330

theres a basic upload system. then i just figue out a way to call it out?
Posted on Wednesday 4th February 20 at 12:29 PM
awo
templates/default/images/noavatar.png's Avatar
Newbie
I mean save Images in sql.

This only upload it to the server. I wanna have the image in a database.
Posted on Wednesday 4th February 20 at 03:40 PM
Adam981
templates/default/images/noavatar.png's Avatar
Junior Member
try looking at the forum tutoral and use the page avatar.php part?
Posted on Wednesday 4th February 20 at 04:49 PM
awo
templates/default/images/noavatar.png's Avatar
Newbie
Im mean the image file is saved in the mysql server and not on the server whit the php script.
Posted on Wednesday 4th February 20 at 05:17 PM
DanielXP
avatars/1.png's Avatar
Senior Member
You need to get the filecontents of the image (binary data)

save that to your database then you are able to echo it out.
Posted on Wednesday 4th February 20 at 07:25 PM
awo
templates/default/images/noavatar.png's Avatar
Newbie
ok, try google know :)