On Fri, 10 Sep 2004 13:33:37 -0700 (PDT), Dan McCullough
<[EMAIL PROTECTED]> wrote:
> So I have orders and customers.  I need to go through and list out the orders and 
> then I need to
> use the customer to grab all the order associated with them, then list out their 
> contact
> information.  Anythough on how I can group orders by customer, list the customer 
> information (from

I'd use a table join with a group by clause.

> another table) and then go on to the next order and so the same thing all over again?

I'd use a PHP loop construct such as while().

What database are you using?  What do your tables look like?  Where's
the code you've written already if any?


-- 
Greg Donald
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to