Jump to content

Archived

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

Guest PcGamerz13

header error

Recommended Posts

Guest PcGamerz13
Fixed

Share this post


Link to post
Share on other sites
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..

Share this post


Link to post
Share on other sites
[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=37442\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=37442[/a]

Share this post


Link to post
Share on other sites

×

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.