"Error: INSERT INTO bill( Total_Bill,Type_Transaction,Sold_Item,Buyer) VALUES(0,,1, 00001) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1, 00001)' at line 2"
what does this mean??
this is a fragment of my code:
$Ttype = $_POST['transaction'];
$Ibuyer= $_SESSION['buyer'];
//assuming the codes between the fragment is correct
$SqlTransaction = "INSERT INTO bill( Total_Bill,Type_Transaction,Sold_Item,Buyer)
VALUES($pPrice,$Ttype,$ItemID, $Ibuyer)";
and when i looked t my data base it the data has been inserted except for $Ttype
which should go to "Type_Transaction"