I have a function on my that has a delete button to erase comments. I have the button all linked up and ready to go. I just don't know what I should put on the 'delte.php' script I am creating, and what to tell it php wise to send to the db to make the status dead. as well as deleting the comment off of the page.
Thanks
You mean something like
Bobby
Your php script would contain a query to delete the comment
Send a request using Ajax which won't reload the current webpage. Here is a snippet using jQuery
If you do not want the browser to go anywhere you could send HTTP status 204, "No content".
Typically though you'd do a redirect to the same page with a notice saying "Comment deleted." or similar.