newbie php/mysql need help
| From: | p80 | Date: | Sun, 13 Mar 2005 22:35:15 +0000 |
| Subject: | newbie php/mysql need help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-210627@lists.php.net to get a copy of this message | ||
I do a mysql request like this one:
SELECT DISTINCT (brand), COUNT( brand )FROM
machines where category like
'sold' group by brand"
I get this from mysql:
brand COUNT( brand)
brandx 4
brandy 12
how can I echo this result in php?
thanx in advance
Pat