02-16-2010, 05:37 AM
(This post was last modified: 02-16-2010, 05:37 AM by designavenger.)
Thank you MattR for your reply.
I need it to execute these three lines of code:
before the user is redirected, how can i make it so the header is called before input and make it run this code?
I need it to execute these three lines of code:
PHP Code:
$query_id = $_GET['queryID']; //Gets the querie's ID
$q = "DELETE FROM contactwebmaster_requests WHERE wmqueryID='$query_id' LIMIT 1";
$query_delete = $database->query($q) or die("MySQL error: ".mysql_error());;
before the user is redirected, how can i make it so the header is called before input and make it run this code?