New answers tagged


You need to have a <form> element. By not specifying a form action attribute the form posts to the same page you are on which makes this easy to process. Also an id on the textarea is not enough you need to add a name attribute to catch with $_POST for processing. Also adding a nonce field is good practice, and checking permissions to be safe. Try ...

Top 50 recent answers are included