$Dive_list_fields .=<<<__HTML_END
<tr>
<td align = "center" width = 110 style=$colornb>
<a href="disgraph.php?id=$diverid2">$divemd</a>
</td>
<td align = "center" width = 110 style=$colornb>
$diveduration
</td>
<td align = "center" width = 120 style=$colornb>
$date
</td>
<td width = 170 style=$colornb>
$divername
</td>
<td width = 130 style=$colornb>
$location
</td>
<td align = "center" width = 70 style=$colornb>
<a href="disgraph.php?id=$diverid2"><img src="divelogo.JPG" width="35" height="25"></a>
</td>
<td align = "center" width = 140 style=$colornb>
$picturecode
</td>
<td align = "center" width = 70 style=$colornb>
if ($pictureid == 0){
}else{
<a href="display2.php?id=$pictureid"><img src="bphoto/thumbv_$pictureid.jpg" width="35" height="25"></a>
}
</td>
<td align = "center" width = 70 style=$colornb>
$divehits
</td>
</tr>
__HTML_END;
Hi all guru, is it possible to implement the condition of if ($pictureid == 0){ into the html ?