I'm trying to get an image to appear on my page
but only if the image name field is filled in in the db
My code is
but I get the error
Parse error: parse error, unexpected '<' in udetails.php on line 56
line 56 being the above code
but only if the image name field is filled in in the db
My code is
Code:
<?php
if ($detailpic2 <> "") {
echo "<img src=\"[URL unfurl="true"]http://www.marinasonline.net/images/marinapics/$detailpic2\"[/URL] align=\"left\" width=\"150\">";<br><br>
}
?>
but I get the error
Parse error: parse error, unexpected '<' in udetails.php on line 56
line 56 being the above code