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