Error in query: UPDATE items SET quantity='2' WHERE cartid= and itemid='993'. You have an error in your SQL syntax near 'and itemid='993'' at line 1