Hi all,
in the below code i create a single column table on the fly using a returned record set, and this works great my question is how can i create a 2 column table as I just cannot work it out.
many thanks chrisPHP Code:<?php
while($row = mysql_fetch_array( $result1 )) {
// Print out the contents of each row into a table
echo "<tr><td>";
echo $row['name'] .'<br>';
echo '<a href="detail.php?item=' .$row['stockcode']. '&dept='.$_GET['dept'].'"> <img src="'.$row['img_location'].' " width="88" height="94"><br>';
echo $row['price']. '<br>';
echo $row['stockcode']. '<br>';
echo "</td>";
echo "</tr>";
}
?>
