ive used some php which enables me to upload an image to a folder, however i need the image to be uploaded into mysql(database) instead of a folder, so, can anyone tell me, the code?
the best thing to do is keep the script uploading it to a folder and insert the name of the image to the database, then get the name of the image from the database (e.g. image.png) and put it in a variable and then have an image tag…
[php]
//obviously the src is the location of the image folder from root then /$image
[/php]