Jump to content

header error


Guest PcGamerz13

Recommended Posts

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..
Link to comment
https://forums.phpfreaks.com/topic/3896-header-error/#findComment-13511
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.