rendered paste body<?while ( $row=mysql_fetch_array($result)){ $linecount++; $formnum = $row[formnum]; $pic = $row[pic]; $mediatype = ($row[mediatype]-1); $Prod1 = $row[Prod1]; $Prod2 = $row[Prod2]; $Prod3 = $row[Prod3]; $Prod4 = $row[Prod4]; $Other = $row[Other]; $filetype = $row[filetype]; $title = $row[title]; $description = $row[description]; $filename = $row[filename]; $updated = $row[updated]; $distribution = $row[distribution]; $ordernum = $row[ordernum];?> <td width=120 valign=top> <center><h2><? echo $medianames[$mediatype]; ?></h2><br> <a href=/toolbox/forms_upload/<? echo $filename; ?> target=_blank> <img src=toolbox_picdir/<? echo $pic; ?> valign=top bordercolor=black alt='<? echo $description; ?>' border=0><br> <font color=#navy ><? echo $title; ?></font><br> <font color=#000000><? echo $updated; ?><? if($Prod1){echo" Prod1"; } if($Prod2){echo" Prod2"; } if($Prod3){echo" Prod3"; } if($Prod4){echo" Prod4"; } if($Other){echo" Other"; }?> </a></font><br> <a href=toolbox_admin.php?dispcat=<? echo $dispcat; ?>&removecheck=<? echo $formnum; ?>&filename=<? echo $filename; ?>><img src=images/garbagecan_10x10.jpg border=0 alt='REMOVE DOCUMENT'></a><br>order num:<? echo $ordernum; ?><center> </td><? if($linecount==5) { $linecount=0; echo"</tr><tr>"; }}