the form now submits without havign to click'go', thanks!
but now I cant figure out setting and using the cookie...
so first i set a cookie above the head tags
<?
setcookie("results", $value);
?>
and then try to use it later on...
<?
$value = $_POST['numresults'];
if($value>0){
$rpp = $_COOKIE['results'];
}
else{ $rpp= 1;
}
?>
my thinking is I always want atleast 1 result showing, so im trying to set up an if argument for if a cookie has been set or not, if it has then use it, if not then default to 1 result per page.
but of course it doesn't work! any hints?