I need to do a web page for a client to upload images to a data base and display them.
I am achieve to upload the images into a database, but I\'m having trouble di
Try changing:
$image = mysql_query("SELECT * FROM blog WHERE id=$id");
to:
$image = mysql_query("SELECT * FROM blog WHERE id = '$id'");