DarkPrince2005 Posted July 24, 2008 Share Posted July 24, 2008 Can someone please have a look at my query and tell me what i'm doing wrong. I am trying to add 1 to the quantity field in a table by updating it. update tbl_cart set cart_qty = '(cart_qty)+1' where cart_id like '67' Link to comment https://forums.phpfreaks.com/topic/116404-add-1/ Share on other sites More sharing options...
fenway Posted July 24, 2008 Share Posted July 24, 2008 This doesn't work? update tbl_cart set cart_qty = cart_qty+1 where cart_id = '67' Link to comment https://forums.phpfreaks.com/topic/116404-add-1/#findComment-598590 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.