Code: Select all
while ($row=mysql_fetch_assoc($result)) {
echo("<table><tr><td>");
echo($row['somecolumn']);
echo("</table>");
echo("<table><tr><td>");
echo($row['othercolumn']);
echo("</table>");
I think this shall help!!

Moderators: egami, macek, gesf
Code: Select all
while ($row=mysql_fetch_assoc($result)) {
echo("<table><tr><td>");
echo($row['somecolumn']);
echo("</table>");
echo("<table><tr><td>");
echo($row['othercolumn']);
echo("</table>");
Code: Select all
print "<table>";
while ($row=mysql_fetch_assoc($result)) {
print "<tr><td>";
print $row["col1"];
print "</td><td>";
print $row["col1"];
print "</td></tr>";
}
print "</table>";