Код HTML:
<form action="http://.../file.php" method=post name="form">
<input type=text name="text">
<input type=hidden name="per">
</form>
<a href="" onclick="document.form.per.value='PREV'; document.form.submit(); return false;">PREV</a>
<a href="" onclick="document.form.per.value='NEXT'; document.form.submit(); return false;">NEXT</a>
Можно соответственно сделать все поля скрытыми...