When I echo $row_rshousemaster['pict1']; I get "[NULL]" when there is no data (actually the data is "NULL") and I get "/house/100_001.jpg" when there is data.
As far a the null issue. I allowed null in my table but did not set it as a default and did not specify it in any way. It may be a quirk of the "MYSQL Control Center" that i am using to manage my data base.
Other than that, I am still not getting an image when there is one listed in the data base. And when I try to add a line following the ELSE statement as in:
<?php
if ($row_rshousemaster['pict1'] == "[NULL]")
{
echo "<img src=\"" . $row_rshousemaster['pict1']; "\">";//don't spit out image tag
}
else
{
<img src="<?php echo $row_rshousemaster['pict1']; >"> //spit out the image tag
}
?>
I get a parse error: unexpected "<"
I think I mentioned that this bit of code exsist in a repeat region (do-while loop) if that makes any difference.
DD