Twango Posted March 26, 2011 Share Posted March 26, 2011 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 More sharing options...
Twango Posted March 26, 2011 Author Share Posted March 26, 2011 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 More sharing options...
Twango Posted March 26, 2011 Author Share Posted March 26, 2011 Wow I'm an Idiot... I fixed it O_O Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.