$val){ if($val){ $params .= "&".$key."=".$val; } } if($params!=""){ $params[0]="?"; } header("Location: select_applet.htm".$params); exit(0); ?>