Re: [PHP] Creating single row for multiple items.

2008-09-09 Thread Micah Gersten
Databases are for storing and retrieving data. :) Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Ashley Sheridan wrote: > I'm assuming because this is part of a shopping cart, so he would have > to put the data into the database only to retrieve it again, wh

Re: [PHP] Creating single row for multiple items.

2008-09-09 Thread tedd
.com> Date: Tue, 9 Sep 2008 19:31:23 -0400 To: From: tedd <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" ; format="flowed" Subject: Re: [PHP] Creating single row for multiple items. Content-Transfer-Encoding: 7bit At 10:04 PM -0600 8/31/08, Tom Shaw wrote

Re: [PHP] Creating single row for multiple items.

2008-09-09 Thread Ashley Sheridan
I'm assuming because this is part of a shopping cart, so he would have to put the data into the database only to retrieve it again, which is a little bit of a waste. As for how to do it, I'd look through the arrays you have and use associative arrays (where the order number is the key of the array

Re: [PHP] Creating single row for multiple items.

2008-09-09 Thread tedd
At 10:04 PM -0600 8/31/08, Tom Shaw wrote: My array looks very similar to this. I need to create a single row for the items that have the same order number for CSV export. I'd prefer to do this PHP wise instead of SQL. But would appreciate any help I can get. $ar = array( array( "orde

Re: [PHP] Creating single row for multiple items.

2008-09-03 Thread Brady Mitchell
On Aug 31, 2008, at 904PM, Tom Shaw wrote: My array looks very similar to this. I need to create a single row for the items that have the same order number for CSV export. I'd prefer to do this PHP wise instead of SQL. But would appreciate any help I can get. Please send an example of w

Re: [PHP] Creating single row for multiple items.

2008-09-02 Thread Diogo Neves
On Tue, Sep 2, 2008 at 7:17 PM, brian <[EMAIL PROTECTED]> wrote: > Tom Shaw wrote: > >> My array looks very similar to this. I need to create a single row for the >> items that have the same order number for CSV export. I'd prefer to do >> this >> PHP wise instead of SQL. But would appreciate any

Re: [PHP] Creating single row for multiple items.

2008-09-02 Thread brian
Tom Shaw wrote: My array looks very similar to this. I need to create a single row for the items that have the same order number for CSV export. I'd prefer to do this PHP wise instead of SQL. But would appreciate any help I can get. $ar = array( array( "order_id" => "34", "orde

Re: [PHP] Creating single row for multiple items.

2008-08-31 Thread Diogo Neves
Hi, Check if I understood you... You have this array and want create a csv? On Mon, Sep 1, 2008 at 5:04 AM, Tom Shaw <[EMAIL PROTECTED]> wrote: > My array looks very similar to this. I need to create a single row for the > items that have the same order number for CSV export. I'd prefer to do >

[PHP] Creating single row for multiple items.

2008-08-31 Thread Tom Shaw
My array looks very similar to this. I need to create a single row for the items that have the same order number for CSV export. I'd prefer to do this PHP wise instead of SQL. But would appreciate any help I can get. $ar = array( array( "order_id" => "34", "order_number" =>