Select Count(*) into variable
| From: | Nick Boyle | Date: | Mon, 21 Aug 2000 14:25:42 +0000 |
| Subject: | Select Count(*) into variable | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2215@lists.php.net to get a copy of this message | ||
select count(*), name, town, county from tablename group by telephone, town
If I wish to do a select (like above), and then process depending on number
of results, how can I put the count(*) into a variable??
Many thanks in advance
Nick