yes, all input inside the form tags
will be sent with values,
when button SUBMIT is clicked
Following script will dump out all values, the array $_POST
in this case 3 variable values are posted, sent
using method="post"
<form method="post">
Some text: <input type="text" name="sometext" value="" /><br />
<input type="hidden" name="submitted" value="TRUE" />
<input type="submit" name="submit" value="Submit" />
</form>
<?php
if(isset($_POST['submit'])){ //if submit button value exists
// show all posted values
echo '<pre>'.print_r($_POST, true).'</pre>';
}
?>