Re: Best way to tell how many rows a query returns

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Say there are 200 records that match 'conditions', only 30 rows are 
> returned (of course). How do I find out the total number (200 in this case) 
> that matched the conditions?
> 
> Any ideas?

SELECT COUNT(*) ....

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux