Re: multi dimension array

From: Date: Fri, 10 Sep 2004 21:22:23 +0000
Subject: Re: multi dimension array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196365@lists.php.net to get a copy of this message
On Fri, 10 Sep 2004 13:33:37 -0700 (PDT), Dan McCullough <mcwc@rocketmail.com> 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/

« previous php.general (#196365) next »