I am trying to reproduce a catalogue on-line using PHP.
I have no problems gathering all the data I need from my MySQL database, but how can I specify that I only want the HTML table the data is to be displayed in is only 4 columns wide?
If I use the while($query_data = mysql_fetch_array($result))
{
echo "<td etc etc etc...)
}
the table will just be loads of columns and not split into a different row after each 4 columns.
Any ideas?
Thanks