I've made a database so I can keep track of what all my cd's contains, but I need a counter function so I can see how many cd's there are total.
Can anyone help me please ?
Thanks in advance
ampersand
Count rows
Moderator: General Moderators
Letting sql do the work might be the easiest way.
http://www.mysql.com/doc/en/Counting_rows.html
If you're going to fetch them all anyway (again for mysql): mysql_num_rows()
http://www.mysql.com/doc/en/Counting_rows.html
If you're going to fetch them all anyway (again for mysql): mysql_num_rows()