Jump to content

Not setting table value


Twango

Recommended Posts

I have NO idea why this isnt working.if ($tl >= 100){echo "bf: " . $tl;$pointvalk = $tl - 100;echo "n: " . $pointvalk;$zd = "UPDATE Accounts2 SET Points = $pointvalk WHERE Usr = '$username'";$zd21 = mysql_query($zd, $con);}so i have the variable $tl set to 200.It echos bf: 200then, n: 100but it doesn't update. I cant figure out why this is!! HELP!

Link to comment
Share on other sites

Well, somehow i fixed that part. but now this next part isn't working.This is the next part;$udk = "UPDATE Accounts2 SET Special 'Supportive User' WHERE Usr = '$getu'";$go = mysql_query($udk, $con);Help!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...