Warptweet Posted April 28, 2007 Share Posted April 28, 2007 Is it possible for me to increase the number value in a column of a particular row in my mysql database by a specific value? mysql_query("UPDATE users SET userspace += '50' WHERE username = 'username'"); Is that possible? To simply increase like that? If not, how can I? Link to comment https://forums.phpfreaks.com/topic/49134-updating-a-particular-row/ Share on other sites More sharing options...
trq Posted April 29, 2007 Share Posted April 29, 2007 mysql_query("UPDATE users SET userspace = userspace+50 WHERE username = 'username'"); Link to comment https://forums.phpfreaks.com/topic/49134-updating-a-particular-row/#findComment-240726 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.