I am trying to get an image field to NOT display if a image is NOT present. I managed to get this to work displaying the path but I can not get it to work with the image. It gives me a string error. I have tried it a few ways and same problem. Please HELP!
Here is the path one I used
Her is the image one I usedPHP Code:<?php if ($row_Recordset1['photo'] == null) echo ""; ?>
PHP Code:<?php if ($row_Recordset1['photo'] == not null) echo "<img src=$rowRecordet1['photo']";?>



Reply With Quote

Bookmarks