RE: [PHP] displaying record number in a cell in a table

2002-11-26 Thread Van Andel, Robert
$result = mysql_query(select * from [database table]); echo table; while($data = mysql_fetch_array($result)) { $count++; echo tr; echo td$count/td; echo td$data[0]/td; echo td$data[1]/td; ...and so on echo /tr; } echo /table; This

RE: [PHP] displaying record number in a cell in a table

2002-11-26 Thread Peter Houchin
Thanks Robert -Original Message- From: Van Andel, Robert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 27 November 2002 11:43 AM To: Peter Houchin; php_gen Subject: RE: [PHP] displaying record number in a cell in a table $result = mysql_query(select * from [database table]); echo