multi updates
| From: | Gary | Date: | Thu, 06 Sep 2001 23:55:26 +0000 |
| Subject: | multi updates | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66282@lists.php.net to get a copy of this message | ||
I have a form that has name (unique in the table), team, pick, and message. The below is updating all the rows with the same updates. where have I screwed up?
$sql = "UPDATE cappers SET team= \"$team\", pick = \"$pick\", message = \"$message\"";
//Get Results
$sql_result = mysql_query($sql, $conn) or die("Couldn't Query Database");
if(!$sql_result) {
TIA
Gary