Grouped sql output
| From: | Rudi | Date: | Tue, 26 Feb 2002 10:43:46 +0000 |
| Subject: | Grouped sql output | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17294@lists.php.net to get a copy of this message | ||
Hi friends,
I've been struggling for a while now so I thought I'd ask.
What's the easiest way to for to print group sql output.
For example I need to output customers grouped by zip.
Like:
zip
customer a
customer b
zip
customer d
customer e
zip
customer c
custoemr f
customer g
Do I need to build array's and loop through them or
can I print straight from a record set ( using Postgresql or Mysql )
Thanks heaps !
Regards
Rudi.
=============================================================
Get your personalised email and homepage at www.easymail.info