Re: [PHP] Using one submit button

2002-04-16 Thread Jennifer Downey
Do you mean something like this? if($update) { $iprice = $price["price"]; $query = "UPDATE {$config["prefix"]}_shop SET price = $iprice where uid = {$session["uid"]} AND id = $id"; $ret = mysql_query($query); } "Martin Towell" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">new

RE: [PHP] Using one submit button

2002-04-16 Thread Martin Towell
user price[] as the name you'll also need to pass the ids as $id[] so you know which one you're updating -Original Message- From: Jennifer Downey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 11:51 AM To: [EMAIL PROTECTED] Subject: [PHP] Using one submit button Hi all, I t