Guest PcGamerz13 Posted March 2, 2006 Share Posted March 2, 2006 Fixed Quote Link to comment https://forums.phpfreaks.com/topic/3896-header-error/ Share on other sites More sharing options...
shocker-z Posted March 2, 2006 Share Posted March 2, 2006 Your problem is going to be around here:<? require('header.php'); if ($action == 'delete') { $sql = "delete from IM_messages where id=$mid AND sender='$sender'"; mysql_query($sql, $conn);It must be outputting data around this part of the code.. maby the SQL query error?try mysql_query($sql, $conn) OR die(mysql_error());Then that will output if there is an error in your SQL statement.. Quote Link to comment https://forums.phpfreaks.com/topic/3896-header-error/#findComment-13511 Share on other sites More sharing options...
redbullmarky Posted March 2, 2006 Share Posted March 2, 2006 [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=37442\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=37442[/a] Quote Link to comment https://forums.phpfreaks.com/topic/3896-header-error/#findComment-13534 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.