Forum Moderators: coopster
<table border=1 cellpadding=4 cellspacing=0> <tr><th colspan=3>Report</th></tr> <tr><th>Date</th><th>Item</th><th>Code</th></tr> <? while($row=mysql_fetch_array($your_mysql_query)) { $thisdate=$row["date"]; $thisitem=$row["item"]; $thiscode=$row["code"]; print("<tr><td>$thisdate</td><td>$thisitem</td><td>$thiscode</td></tr>\n"); } ?> </table> The fun part is designing your report! :)