Query error : SELECT * FROM cart WHERE IDcth =104 AND Idguest=
Reason : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/thienha/public_html/include/sql.php on line 154
Query error : INSERT INTO cart (IDcth, Num, Idguest, Product, Price) VALUES (104, 1, ,'DV-7016HI-S',16120000.00)
Reason : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''DV-7016HI-S',16120000.00)' at line 1
Warning: Cannot modify header information - headers already sent by (output started at /home/thienha/public_html/include/sql.php:17) in /home/thienha/public_html/addtocart.php on line 22