
Originally Posted by
dunlop03
No the table field is of type int(11). Thank you for your suggestions, i'll take note and implement. As for echoing the mysql error, you mean remove the "or die ("Query error")" from the query ?
yes just do something like:
Code:
//...
$result2 = mysql_query("DELETE FROM messages WHERE mid=$row ")
if(!results){
header('location: error.php?x=differenterrorcode');
}
//...
Yeah, posting the code snippet that sets the $_SESSION['grp'] value would help : ).
Justin