plugin delete not working
have the attached customer_update page which has got a plugin using message_results
if I delete an item in the message_results plugin,
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY MessageDate DESC LIMIT 0, 50' at line 1
I am pretty sure its to do with this within the select statement
WHERE MessageUserID = {$_SESSION['UserID']}
but I need that to display the messages that are associated with that user...
What am I doing wrong please?
Cheers
Jamie