I have an html form that has php loading information from a mysql database. I have made each row of information appear in a correspronding row of form input text boxes. Those are forms in and of thermselves. When a user clicks the delete submit button, it should delete that row from the database, but leave the others alone. A simple post method of passing the variables and
$result=mysql_query("DELETE FROM Carts WHERE OrderName=\"$DeleteName\" AND OrderPrice=\"$DeletePrice\" AND OrderID=\"$DeleteID\" AND CartID=\"$DeleteSess\" LIMIT 1");
code does not work. But if I replace the variables with the actual form input and not the variables, it works. So the variables are somehow not being translated.