Is it at all possible to display more than one record from a MySQL database on the same row of a table, or can records only be placed one below the other?
Thanks!
$row_switch = 0; while ($row = mysql_fetch_array($sql)){ if ($row_switch == 0){ $row_switch = 1; } else { $row_switch = 0; echo "</tr><tr>"; } echo "<td>{$row['fieldone']}</td>"; echo "<td>{$row['fieldtwo']}</td>"; }