echo "<TABLE CLASS='table' BORDER='1' CELLPADDING='6' CELLSPACING='0' BORDERCOLOUR='#000000' >";
echo "<TR CLASS='tablebackground'>";
echo "<TD COLSPAN='5'>";
echo "<P CLASS='tabletext'>";
echo "<a href=\"display.php?file=".$result['pic_path']."\">
<img src=\"".$result['thum_path']."\"></a><br>";;
echo "</P>";
echo "</TD>";
echo "</TR>";
This code puts each thumbnail in its own table in one cell.
and i can understand why.
How can i make each thum appear in a different cell of the same table.
do i have to create an array, or is their an easier way?