In my php program, I have to insert variables into one of my sql tables. Every time I go to test this out though, the values don't get posted to the table. Is there something wrong with these statements? or is the problem bigger than these 2 lines
$sqli = mySQLi_connect("localhost","root","root","myProject");
mysqli_query("insert into purchases (id, productID, quantity) values ($id, $productID, $quantity)");