View Single Post
Old 05-01-2002, 12:40 AM  
amalia32us
Registered User
 
Join Date: Apr 2002
Posts: 3
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
__________________
We are selling very good content.
[email protected]
amalia32us is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote