Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Warning: Cannot modify header information - headers already sent
#3
Thank you MattR for your reply.

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?
Reply


Messages In This Thread
RE: Warning: Cannot modify header information - headers already sent - by designavenger - 02-16-2010, 05:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Change warning level color with php [help] KingOfHunt3rs 0 972 12-04-2014, 08:45 AM
Last Post: KingOfHunt3rs
  [TUT] How to make, and call headers and footers. Extasey 0 616 05-12-2010, 10:42 PM
Last Post: Extasey

Forum Jump:


Users browsing this thread: 1 Guest(s)