Array
(
)

#1. SELECT id,INSTOCK FROM item_show WHERE CODE = 'A0105770' AND is_show = 1 LIMIT 1
- Cart from COOKIE
0 - Cart from COOKIE in WHERE
#2. SELECT id FROM cart WHERE id = 0
INSERT INTO cart(user_id,date_time) VALUES('','2018-01-21 21:34:25')545668 - Cart from mysql_insert_id()
#3. INSERT INTO cart(user_id,date_time) VALUES('','2018-01-21 21:34:25')
- Cart from Array
SELECT * FROM cart_item WHERE cart_id = 545668 AND CODE = 'A0105770'Table './adviceshop_00001/cart_item' is marked as crashed and should be repaired