dayze_day
04-12-2005, 06:11 AM
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
<?php if ($row_Recordset1['photo'] == null) echo ""; ?>
Her is the image one I used
<?php if ($row_Recordset1['photo'] == not null) echo "<img src=$rowRecordet1['photo']";?>
Here is the path one I used
<?php if ($row_Recordset1['photo'] == null) echo ""; ?>
Her is the image one I used
<?php if ($row_Recordset1['photo'] == not null) echo "<img src=$rowRecordet1['photo']";?>