Re: [PHP] Multiple Update from one form

2004-05-19 Thread Don Read
On 18-May-2004 Miles Thompson wrote: > > This is close to your situation, but I only needed a one dimensional > array > for a bulk delete. So the form part has this line: > print( ''); > There's no need for a subscript in the form - there are presently a > potential of 963 elements in

Re: [PHP] Multiple Update from one form

2004-05-18 Thread Miles Thompson
Enda Yes, you need the multi-dimensional array as you want to keep the data for the same line together. Miles At 09:03 PM 5/18/2004, Enda Nagle - Lists wrote: Hi Miles, Thanks for the reply. I see what you're doing there and had looked at the foreach() functionality, but am I right in saying tha

Re: [PHP] Multiple Update from one form

2004-05-18 Thread Enda Nagle - Lists
Hi Miles, Thanks for the reply. I see what you¹re doing there and had looked at the foreach() functionality, but am I right in saying that I still need to use the multidimensional array since there are three variables in each line? (id, tracking, kb_ship)? Enda -- On 19/05/2004 00:58, "Miles T

Re: [PHP] Multiple Update from one form

2004-05-18 Thread Miles Thompson
At 07:56 PM 5/18/2004, Enda Nagle - Lists wrote: Its OK guys, Got something else myself. Here¹s the solution... Any suggestions appreciated... / // UPDATE PART / $i=1; //while ($ordersinfo[$i]) while ($i < $total) { $session = $ordersinfo[$i][

Re: [PHP] Multiple Update from one form

2004-05-18 Thread Enda Nagle - Lists
Its OK guys, Got something else myself. Here¹s the solution... Any suggestions appreciated... / // UPDATE PART / $i=1; //while ($ordersinfo[$i]) while ($i < $total) { $session = $ordersinfo[$i][session]; $tracking = $ordersinfo[$i][tracki

[PHP] Multiple Update from one form

2004-05-18 Thread Enda Nagle - Lists
Hi I have a current application where I am listing a table of order details, where a fulfillment company can enter the tracking number and the cost of the shipment. At present, I have up to 40 orders displayed, and when they click on the Œupdate¹ button, the code executes as if ((isset($trac