SyntaxFix
Write A Post
Hire A Developer
Questions
I usually write something like this:
foreach($_GET as $key=>$content){ echo "<input type='hidden' name='$key' value='$content'/>"; }
This is working, but don't forget to sanitize your inputs against XSS attacks!