thekevin07
07-21-2007, 09:43 AM
Hi
I have to count the amount of occurrences in a table of roughly 700,000 records and growing. I need to count how many times the email admin@website.com (for example) what is the fastest way to do this and will put as less stress on the servers as possible? I know about mysql COUNT and mysql_num_rows im not quite to sure how to use it so if COUNT is the fastest how do i use it with php?
thanks
I have to count the amount of occurrences in a table of roughly 700,000 records and growing. I need to count how many times the email admin@website.com (for example) what is the fastest way to do this and will put as less stress on the servers as possible? I know about mysql COUNT and mysql_num_rows im not quite to sure how to use it so if COUNT is the fastest how do i use it with php?
thanks