Hi
My db table may or may not hold a second image. If it does not then the field name will have the value "blank". I am trying to echo out the second image IF it exists. Here is part of my code but the page is completely blank so my syntax must be dodgy, can you take a look please?
Thanks in advance!...
echo "<td><img src=\"images/{$row['image']}\" />";
if ({$row['image2']} <> 'blank') {
echo "<img src=\"images/{$row['image2']}\" />";
}
echo "</td>";