proud Posted February 18, 2007 Share Posted February 18, 2007 I'm trying to subtract 1 from a field called reply but i dont know what is the right syntax to use? The red part is where the syntax needs to be corrected... UPDATE `forum_question` SET `reply` = `reply-1` WHERE `forum_question`.`id` =3 ;"; Link to comment https://forums.phpfreaks.com/topic/38974-using-the-right-syntax-for-mysql-update/ Share on other sites More sharing options...
fenway Posted February 18, 2007 Share Posted February 18, 2007 You mean `reply`-1.... Link to comment https://forums.phpfreaks.com/topic/38974-using-the-right-syntax-for-mysql-update/#findComment-187610 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.