delete from multiple tables
Posted: Tue Oct 03, 2006 8:36 pm
Hi,
I'm trying to delete from two tables using:
But it's not working and no error is displayed!
$id is the product_id passed through the url (successfully).
What can i do?
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?