Re: [PHP] selecting count and then dumping to an array

2003-06-07 Thread Jim Lucas
x27;, '$5') GROUP BY type; Jim Lucas - Original Message - From: "Ryan A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, June 07, 2003 8:53 AM Subject: Re: [PHP] selecting count and then dumping to an array > Thanks guys, > will give it a sho

Re: [PHP] selecting count and then dumping to an array

2003-06-07 Thread Ryan A
Thanks guys, will give it a shot and write back if i have any problems. Cheers, -Ryan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] selecting count and then dumping to an array

2003-06-07 Thread Peter Goggin
P] selecting count and then dumping to an array > 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 sel

[PHP] selecting count and then dumping to an array

2003-06-07 Thread Ryan A
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://