This doesn't seem to be working as expected. Here is the "process" page. What it is suppose to do is send the user back to the index page if no form fields have been filled out, if any of them have something in them it should send them to the search_results page.
if(!isset($_POST['txtcaseno']) || !isset($_POST['txtparcel']) || !isset($_POST['txtlname']) || !isset($_POST['txtfname']) || !isset($_POST['txtstreet'])){
header('Location: index.php');
exit();
} else {
$caseno = $_POST['txtcaseno'];
$parcelno= $_POST['txtparcel'];
$lname= $_POST['txtlname'];
$fname= $_POST['txtfname'];
$street= $_POST['txtstreet'];
$time = time();
setcookie("MasonCoPermits[caseno]", $caseno, $time + 3600);
setcookie("MasonCoPermits[parcelno]", $parcelno, $time + 3600);
setcookie("MasonCoPermits[lname]", $lname, $time + 3600);
setcookie("MasonCoPermits[fname]", $fname, $time + 3600);
setcookie("MasonCoPermits[street]", $street, $time + 3600);
header('Location: search_results.php');
exit();
}