i am trying to create a delete page when the user clicks cancel order, here are my codes.
$A = @mysql_query("DELETE * FROM customers WHERE email= '{$_REQUEST['email']}'");
$B = @mysql_query("DELETE * FROM order_detail WHERE orderid= '{$_REQUEST['orderid']}'");
$C = @mysql_query("DELETE * FROM orders WHERE `serial`= '{$_REQUEST['serial']}'");
that is what i did for the cancel.php
and here is the link that would send parameters to the cancel page.
<a href='../../includes/cancel.php?orderid=".$row['orderid']."&serial=".$row['serial']."&email=".$_SESSION['email']."''>CANCEL ORDER</a>
I dont know why it wont work. please help. thank you