Hi,
I have a table in which I have 6 fields, my primary key called order_no is bigint and it is also auto_incrment.
My insert statement is like the following. It does not work
$resultcat= mysql_query("insert into shopping_cart values ('$cart_id','$productid','$name','$quantity','$price' )")
Now If take my order_no (auto increment) key out, it works, what I am doing wrong in my insert statement?
Thanks
I have a table in which I have 6 fields, my primary key called order_no is bigint and it is also auto_incrment.
My insert statement is like the following. It does not work
$resultcat= mysql_query("insert into shopping_cart values ('$cart_id','$productid','$name','$quantity','$price' )")
Now If take my order_no (auto increment) key out, it works, what I am doing wrong in my insert statement?
Thanks