tags:

views:

21

answers:

1

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.

+1  A: 

Like this:

<form name="feedback" 
      method="post" 
      onsubmit="return checkform()" 
      action="engine.php?ad=<?php echo htmlentities($_GET['page']); ?>">
SLaks