Specifying values in the action URI will have no effect, as the values in the URI will get overridden. To demonstrate, try the HTML and PHP code below. The form_test.html file could be renamed, but obviously, the PHP script needs to be named regurgitate.php (or the action in the form needs to be edited).
form_test.html:
<html>
<head>
<title>Test of setting form action url</title>
<body>
<form action="regurgitate.php?id=value" method="get">
<input type="submit" name="Submit">
<input type="hidden" id="test" name="test" value="test">
</form>
</body>
regurgitate.php:
<html>
<head>
<title>Test PHP script for testing form action</title>
<body>
<?php
echo "In regurgitate.php<br>\n";
foreach ($_GET as $k) {
echo "\$_GET['$k']: >" . $_GET["$k"] . "<<br>\n";
}
?>
</body>
When the submit button is clicked on form_test.html, the URL in my browser becomes something like:
http://www.example.com/regurgitate.php?Submit=Submit+Query&test=test
Note there's no "id=value" in the URL.
The output is:
In regurgitate.php
$_GET['Submit Query']: ><
$_GET['test']: >test<