update forums_messages
set html_p = :html_p
where message_id = :message_id
update forums_messages
set subject = :subject,
content = :content,
html_p = :html_p
where message_id = :message_id
update forums_messages
set state = :state
where message_id = :message_id
select notification_id from notifications
where object_id=:message_id or response_id=:message_id