Msg#: 3728590 posted 5:07 am on Aug 22, 2008 (gmt 0)
I have a ad website that I would like to include a "Report Abuse" feature.
Basically I'd like to have text along the lines of: "Report ad as abusive". When the user clicks on it, the text changes to "Thanks for the report, we'll look into it ASAP". The click would also activate a PHP script (?ad_num=12345 part of the URL to pass that along) that would put the info into a db and send me an email.
AJAX is the way to go as I'd rather not send the user to another page but I cannot find any hints as to how to proceed. Pointing me to a web page with the answer would be fine.