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' Quote Link to comment 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' 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.