hi i have a PHP page
and i want to take the value of the text field and post it in the action or in the url
i want to put the page number in the url
i am numbering the pages
<form action="<?php echo $_SERVER['PHP_SELF']."?&p=$pgNumber"; ?>" method="post" name="page" >
Go to page: <input name="productid" type="text" size="3" />
<input name="Go" type="submit" value="Go" onclick="<?php $pgNumber=$_GET['productid']; ?>" />
</form>
but PHP is server side so i should put a javascript function which add "?&p=6" at the end of the url the "p" is the page number
please guys i know nothing about javascript
thanks in advanced!