Re: [PHP] Automatic Table Creation

2003-03-03 Thread Awlad Hussain
Thanks Jonathan, I'll have a go with your codes. Thanks very much awlad - Original Message - From: "Jonathan Pitcher" <[EMAIL PROTECTED]> To: "Awlad Hussain" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 4:17 PM

Re: [PHP] Automatic Table Creation

2003-03-03 Thread 1LT John W. Holmes
h 03, 2003 9:58 AM Subject: [PHP] Automatic Table Creation I have a mysql table containing about 100 record, alphabetically ordered. How would i display them in browser in a 3 columns, doesn't matter how long the rows is as the number of records will grow in the database table. the records s

Re: [PHP] Automatic Table Creation

2003-03-03 Thread Jonathan Pitcher
Awlad, I would guess you are trying to create an HTML table to display the records. $Row = The results returned from. mysql_fetch_array(). $Total = count($Row); $TotalInEachRow = round(($Total/3)); if (($TotalInEachRow * 3) < $Total) { $TotalInEachRow ++; // Planning for the Remainder

[PHP] Automatic Table Creation

2003-03-03 Thread Awlad Hussain
I have a mysql table containing about 100 record, alphabetically ordered. How would i display them in browser in a 3 columns, doesn't matter how long the rows is as the number of records will grow in the database table. the records should be in alphabetically order, for example: aaa bbba