|
Ahhh
And another thing : you cannot do two updates in the same sql query .. do it twice :
$sql = "UPDATE $tablename
SET
points = $points WHERE username = \"$username\"
";
$sql = "UPDATE $tablename
SET $button = \"on\"
WHERE username = \"$username\"
";
Amalia
|