How to Pass URL param in form on submit?

Posted by adamwstl on Stack Overflow See other posts from Stack Overflow or by adamwstl
Published on 2010-05-06T17:23:20Z Indexed on 2010/05/06 17:28 UTC
Read the original article Hit count: 138

Filed under:
|

I have

<form name="feedback" method="post" onsubmit="return checkform()" action="engine.php?ad=">

and I need to append a variable to

engine.php?ad=, which is

<?=$_GET['page'];?> in php (pass a URL param to the next page using this.)

How would I go about adding that?

I also have it in javascript if needed.

© Stack Overflow or respective owner

Related posts about php

Related posts about forms