check this:
while ($row = mysql_fetch_assoc($query))
{ echo
"<div style='border:solid 1px #cccccc; float:left; width:700px; height:150px; margin:10px;'>
<table cellpadding='0' cellspacing='0' border='0'>
<tr>
<td width='200px'>
<div>
<a href='cars/$row[image1]' rel='lightbox' title='$row[make] $row[model]' ><img src='cars/{$row['image1']}' width='200px' height='150px'; border='0'/></a>
</div>
</td>
<td valign='top' style='padding:0px 5px 0px 0px; font-size:12px; width:280px; background-color:#ffffff;'>
<div style='text-align:left; padding:5px;'>
<div style='text-decoration:underline; font-size:13px; font-weight:bold;'>{$row['make']} {$row['model']}</div>
<div style='height:108px; padding-top:2px;'>{$row['description']}</div>
<div>Price: R.{$row['price']} | Colour: {$row['color']} | Year: {$row['yearmodel']}</div>
</div>
</td>
<td width='120px'>";
if($row["image1"]!="")
$image1=$row["image1"];
else
$images1="../no_im_found.jpg";// your image with path.
if($row["image2"]!="")
$image2=$row["image2"];
else
$images2="../no_im_found.jpg";// your image with path.
if($row["image3"]!="")
$image3=$row["image3"];
else
$images3="../no_im_found.jpg";// your image with path.
echo "<!-- here i need to first check if the variable $image2 contains an image other was its shows that icon of no image found -->
<img src='cars/$image2' width='120px' height='90px'; border='0'/>
</td>
<td width='120px'>
<!-- here i need to first check if the variable $image3 contains an image other was its shows that icon of no image found -->
<img src='cars/$image2' width='120px' height='90px'; border='0'/>
</td>
</tr>
</table>
</div>";
}