Quote:
Originally Posted by ozzy47
Did you perhaps deleted a member without deleting his/her posts first?
|
You do not need to delete posts belonging to a member, and thats not the issue.
This line in the query is completely wrong ;
Code:
AND userid NOT IN (usernameofdeleteduser)
First of all its expecting a userid, not a username, secondly, the name isnt escaped, so mysql thinks its a column name.
Looking that query up, it appears you have put their username in the "Send to Coventry" option rather than the userid.