I want to issue a sql statement in php after a successful comment posting but can’t figure out where to do that. Both the $IN and $OUT variables do not have enough information, as well as the $_POST values are empty when the page comes back online. I have been editing the blog/detail template, which is used to show the individual blog post and the comments.
The return parameter is ignored in the statement below.
{exp:comment:form weblog=“blog” preview=“blog/detail”}
To restate: EE is saving the comment correctly, and reloading the detail page with the new comment.
I want to issue a sql statement via php when the comment is saved to the db, and not upon each page load.
Anyone have any ideas on how to go about this?
thanks
Moved to Extensions: Technical Assistance by Moderator
