seany123 Posted March 26, 2009 Share Posted March 26, 2009 here is a problem im having.... $query = sprintf('UPDATE players SET rm = %d WHERE id = %d', $rm, $row['id']); mysql_query($query) or die(mysql_error()); how do i change this so instead of it saying (rm =) it says (rm +) can anyone help me? Quote Link to comment Share on other sites More sharing options...
corbin Posted March 27, 2009 Share Posted March 27, 2009 What? Perhaps you want rm = rm + %d? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.