rendered paste body<?PHP $sql = mysql_query("SELECT * FROM cars ORDER BY year desc, make asc, model asc"); while($row = mysql_fetch_object($sql)) { $img = $imgdir . "$row->id.jpg"; if(is_file($img)) { $img = "<img src=image.php?imgfile=$row->id.jpg&w=125>"; } else { $img = "<div align=center><b>No Picture</b></div>"; } if($sesuser != "") { $adminlink = " <a class=ttlink href=admin.edit.php?go=$row->id>Edit This Vehicle</a>"; } else { $adminlink = "<br>"; } print ('<tr><td class="main_cell" style=" background-color:#1F1F24"><table cellspacing="0" cellpadding="0"><tr><td><table cellspacing="0" cellpadding="0"> <tr> <td style="width:206px;" height="92%"> <img alt="" src="images/t1.jpg" ><br> <br style="line-height:10px;"> <img alt="" src="images/spacer.gif" width="1" height="8"><br> <div style="margin-left:6px; margin-top:28px; "> </div> $img <br> </td> <td style="width:44px; background-image: url(images/v-l.gif); background-repeat: repeat-y; background-position: 21px;" rowspan="2"></td> <td style="width:438px;" rowspan="2"> <img alt="" src="images/t2.jpg" ><br> <br style="line-height:15px;"> <img src="images/a.gif"> <b>Make:</b>' .ucwords($row->make).'<br> <img src="images/a.gif"> <b>Model:</b> '.ucwords($row->model).'<br> <img src="images/a.gif"> <b>Year:</b> '.ucwords($row->year).'<br> <img src="images/a.gif"> <b>Color:</b> '.ucwords($row->color).'<br> <img src="images/a.gif"> <b>Mileage:</b> '.ucwords($row->mileage).'<br> <img src="images/a.gif"> <b>Price:</b> '.ucwords($row->price).'<br> <img alt="" src="images/t3.jpg" style=" margin-top:31px"><br> <br style="line-height:14px;"> <img src="images/a.gif"> <b>Description:</b>'. $row->description.'<br> </td> </tr> <tr> <td style="width:206px;" height="8%">'. $adminlink .'</td> </tr> </table></td></tr></table></td></tr>');}?>