Just type in your application:
echo $query = "UPDATE ProfileComments SET status = 'dead' WHERE id = '".$prof->id."' LIMIT 1";
That will ouput the query as a string. If you can see the error immediatly, great. If not try to paste it into phpMyAdmin
. This should really help you debug your MySQL!
Hope it helps!
Frankie
2009-11-03 17:33:09