Hi,

Is there any way to get a COUNT of records (SELECT count(*) FROM main_my
where type=$t) for 5 types using  hopefully one select statement and then
dumping that into an array?

The reason I am asking is running 5 selects on the DB at once is not a very
good idea...right?

Thanks,
-Ryan

http://MrSahaf.com - The Iraqi (Dis)information ministers site ("We will
slaughter you all!")


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

Reply via email to