parameter from URL via `$_REQUEST` into hidden fields
-
Hello!
I tried this code within the form but it just generates code which can be seen in the source (but has no effect as such):
<?php while (list ($key, $value) = each ($_REQUEST)) { echo "<input type='hidden' name='".htmlspecialchars($key)."' value='".htmlspecialchars($value)."'>"; }?>
After searching for quite a while I found no plugin for my problem: I want to show all parameters provided via the URL in hidden fields in the form (without knowing how many of them are there and what there names are).
Is there a way to do so without changing to much of the original code? Is there an “easy way”?
Thank you for your help in advance.
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘parameter from URL via `$_REQUEST` into hidden fields’ is closed to new replies.