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? Link to comment https://forums.phpfreaks.com/topic/151302-help-with-mysql-query/ Share on other sites More sharing options...
corbin Posted March 27, 2009 Share Posted March 27, 2009 What? Perhaps you want rm = rm + %d? Link to comment https://forums.phpfreaks.com/topic/151302-help-with-mysql-query/#findComment-794883 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.