Query error : SELECT * FROM cart WHERE IDcth = 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 'AND Idguest=' at line 1
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/vietsens/public_html/otothongminh.com/include/sql.php on line 154
Query error : INSERT INTO cart (IDcth, Num, Idguest, Product, Price) VALUES (, 1, ,'',)
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 ' 1, ,'',)' at line 1
Warning: Cannot modify header information - headers already sent by (output started at /home/vietsens/public_html/otothongminh.com/include/sql.php:17) in /home/vietsens/public_html/otothongminh.com/addtocart.php on line 22