Suppose there is a HTML file that has a form in it , which contains some data , which have been taken input from the user using textarea and checkbox . How do I send this da
All form variables will be in $_GET or $_POST array in php (depending on which method you use to submit the form.
The textarea or checkbox need to be named like this:
// collect.php
$comments=""; if(isset($_POST["comments"])) { $comments = $_POST["comments"]; }
$checker=""; if(isset($_POST["checker"])) { $comments = $_POST["checker"]; }