[REQ]U pload image to mysql

Posted on Tuesday 3rd February 2009 at 11:30 PM
awo
awo's Avatar
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
Adam981's Avatar
https://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 2009 at 12:29 PM
awo
awo's Avatar
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 2009 at 03:40 PM
Adam981
Adam981's Avatar
try looking at the forum tutoral and use the page avatar.php part?
Posted on Wednesday 4th February 2009 at 04:49 PM
awo
awo's Avatar
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 2009 at 05:17 PM
DanielXP
DanielXP's Avatar
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 2009 at 07:25 PM
awo
awo's Avatar
ok, try google know :)
Login or register to respond to this forum topic.