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
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
Try
select type, count(*) from table group by type;
This should return a count for each distinct type value.
Regards
Peter Goggin
- Original Message -
From: "Ryan A" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 08, 2003 12:13 AM
Subject: [PHP] selecting count and then
3 matches
Mail list logo