I am using this to update a table:
// The echos are to test variables. They are all being assigned.
echo $id. " =Rec ID. " .$outcome. " = Outcome. " . $free . " = Free. " . $gamestart . " = Game Time. ";
This query is to update the table with record changes in an html form.
$result = dbquery("UPDATE table1 SET playid='$playid', gamestart='$gamestart', team1='$team1', team1line='$team1line', team2='$team2', team2line='$team2line', pick='$pick', active='$active', outcome='$outcome', free='$free' WHERE playid='$id'");
I do not get an error when the query runs. And the $id variable is the used to check the pickid v. the pickid in the form assigned to $id.
I get no fields updated. I'm guessing it is simple and overlooked.