I'm trying to delete from two tables using:
Code: Select all
$query=mysql_query("DELETE FROM product_order WHERE order_id='$id'");
$query=mysql_query("DELETE FROM order_details WHERE order_num='$id'");$id is the product_id passed through the url (successfully).
What can i do?