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
..
}
}
-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
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
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];
- 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
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
6 matches
Mail list logo