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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to