PHP displaying MYSql data formated in table
Posted: Sun May 02, 2010 1:56 pm
Hi all,
I need a little help writing the php code for a page which will display a table with as many columns as how many records found in a MySql database table and as many rows as how many rows are found on a different MYSql table. The two tables are related so lets say if I have a fruit record in first table the apples and bananas will display under this record. So basically the first row will extract the captions from first MySql table and following rows will display the actual records from second MySql table.
Thanks in advance for your help.
Julian
I need a little help writing the php code for a page which will display a table with as many columns as how many records found in a MySql database table and as many rows as how many rows are found on a different MYSql table. The two tables are related so lets say if I have a fruit record in first table the apples and bananas will display under this record. So basically the first row will extract the captions from first MySql table and following rows will display the actual records from second MySql table.
Thanks in advance for your help.
Julian