probably something like:
echo "<table>";
$rs=mysql_query("select * from blabla;",$conn);
while($row=mysql_fetch_row($rs)) {
echo "<tr>";
echo "<td>".$row[0]."</td>";
echo "<td>".$row[1]."</td>";
echo "<td>".$row[2]."</td>";
echo "<td>".$row[3]."</td>";
echo "</tr>";
}
echo "</table>";
R> I'm querying a database then printing the results in a <TABLE>. What I
R> want to do is format the results in a <TABLE> with 4 columns per row.
R> Any suggestions?
R> Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php