View Single Post
Old 05-01-2002, 12:38 AM  
amalia32us
Registered User
 
Join Date: Apr 2002
Posts: 3
Try it like this :


$sql = "UPDATE $tablename SET points = $points, $button = \"on\" WHERE username = \"$username\" ";


I suppose the points field is numeric and the rest are strings. If so ... escape with \" only the varchar and text fields.

Another usefull thing you could do is to Read The Fucking Manual )))

www.mysql.com
__________________
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