Re: [PHP] Re: Using one submit button

2002-04-17 Thread Jason Wong
On Thursday 18 April 2002 00:11, Jennifer Downey wrote: I have no takers on this one? Just to let you know I have been working on this to here is some new code. What I need this to do is update the price in the db table. if I have on item it is fine. If I have two items it won't update the

Fw: [PHP] Re: Using one submit button

2002-04-17 Thread Kevin Stone
.. } } -Kevin - Original Message - From: Jennifer Downey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 10:11 AM Subject: [PHP] Re: Using one submit button I have no takers on this one? Just to let you know I have been working on this to here is some new code. What I need

Re: [PHP] Re: Using one submit button

2002-04-17 Thread Jennifer Downey
as well. $query = UPDATE $table SET price = $price[$i] WHERE id = $id[$i]; // do update.. } } -Kevin - Original Message - From: Jennifer Downey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 10:11 AM Subject: [PHP] Re: Using one submit butt

Re: [PHP] Re: Using one submit button

2002-04-17 Thread Jennifer Downey
Thank you Jason and Kevin for your time and help. Does this look like what I should have? if(isset($update)) for ($i=0; $icount($id); $i++) { if ($id[$i] == $row[id]) { $query = UPDATE {$config[prefix]}_shop SET price = $price[$i] where uid = {$session[uid]} AND id = $id[$i];

Re: [PHP] Re: Using one submit button

2002-04-17 Thread Kevin Stone
- Original Message - From: Jennifer Downey [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 12:07 PM Subject: Re: [PHP] Re: Using one submit button Thank you Jason and Kevin for your time and help. Does this look like what I should have? if(isset($update)) for ($i=0

[PHP] Re: Using one submit button (long, rambling, near-total rewrite)

2002-04-17 Thread Hugh Bothwell
Jennifer Downey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... I have no takers on this one? You would have more help if you didn't glumph a whole whack of code in... it takes five minutes just to sort out what's what. if I have on item it is fine. If I have two items it