I have a database with images stored, how do I get this code to show the image instead of just the name of it.
$ProductName4 = $productRow["image"]; echo $ProductName4;
Try this
Pick one: header('Content-type: image/jpeg'); header('Content-type: image/gif'); header('Content-type: image/png');
Then: echo $ProductName4;