In my pages i have form that has several textarea, i need a method to gather all of the textareas in one email and then send it.
I need a method that i can add it to each page and do this automatically instead of referencing each textarea by name.
$email_body = "You have received a new message from the user $name. \r\n".
"Here is the answer to the $step. \r\n $message \r\n Comments:$comments.\r\n".
Instead of $message i want all textareas.
Let’s re-write this whole answer.
HTML form:
[index.html]:
PHP file (processor):
[php_file.php:]