Re: [php-list] Counting records in a database....

2006-07-27 Thread Pete
In message <[EMAIL PROTECTED]>, Suzi <[EMAIL PROTECTED]> writes >I am working with a MySQL database and PHP. I need to do a count of >the records in the database table and output them to a script. I need >a simple way to do this. The table is called "manufacturers". SELECT COUNT(*) FROM manufactur

Re: [php-list] Counting records in a database....

2006-07-26 Thread Brian Cummiskey
|";| | while ($row = mysql_fetch_array[$result)) { echo "" . $x , "" . $row[0] . ""; $x++; } echo ""; ?>| Suzi wrote: > I am working with a MySQL database and PHP. I need to do a count of > the records in the database table and output them to a script. I need > a simple way to do thi

[php-list] Counting records in a database....

2006-07-26 Thread Suzi
I am working with a MySQL database and PHP. I need to do a count of the records in the database table and output them to a script. I need a simple way to do this. The table is called "manufacturers". I will also need to do a list of the manufacturers and number them. Using their auto-assigned ID