form problem

Posted on 16th Feb 2014 by admin

below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the form i get this..

test.php?search=example&submit=search

how do i get all of this together in the url?

Code: <form action='test.php?w=$sw&h=$sh' method='get'>
<input type='text' size='35' name='search' />
<input type='submit' name='submit' value='search' style='font-size:10px' />
</form>

Other forums