> 
> is there really no resource-friendly, fast&simple way to find out how
> many rows a query could return, without weeding thru all the rows - i
> somehow doubt that websites that claim "we have 1.234.678 [whatever]
> registered in our database" run thru their whole database 
> every time. my
> is that they store the number of entries every time they do 
> an "INSERT",
> but still...

$rows = $dbh->selectrow_array("SELECT COUNT(foo) FROM bar");

-- 
j.

James FitzGibbon                       voice/fax 612-761-6121/4277 
Consultant, TTS-3D@TPN4H               [EMAIL PROTECTED]

Reply via email to