"Jon Haworth" <[EMAIL PROTECTED]> wrote:

> Hi Diana,
> > After I run a query lik this,
> > $db->query($sql);
> > 
> > what is the quickest way to find out how many 
> > records result? 
> Look into mysql_num_rows (or the equivalent if you're not using MySQL)

... you can even do it faster by using a

  "select count(*) as something from some_table"

More info (found in the manual):



- E

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to