I need to show images if they are present in the database but if they're not I don't want anything to show, at the moment i'm getting a "cannot show image red cross" showing. If there is no image then the "image" row in the database will be blank. However some of the rows may have image and imagea but not imageb and imagec, so here I will want image and imagea to show.
I have the following code on my page:
$ProductName4 = $productRow["image"];
$ProductName6 = $productRow["imagea"];
$ProductName7 = $productRow["imageb"];
$ProductName8 = $productRow["imagec"];
echo "<img src=image/$ProductName4><img src=image/$ProductName6><img src=image/$ProductName7><img src=image/$ProductName8>";
Any ideas??????????????? 😕