clear search not clearing
Hey Ray
on the results page you helped with last night, the clear search button isnt clearing a search either from the drop down filter or the freeform input
have attached the file.
Hey Ray
on the results page you helped with last night, the clear search button isnt clearing a search either from the drop down filter or the freeform input
have attached the file.
Try using:
<?php
if (isset($_GET['reset'])) {
unset($_SESSION["SearchContent"]);
unset($_SESSION["StaffType"]);
unset($_SESSION["addSQL"]);
$searchWADAstaff_1 = new WA_MySQLi_Search("WADAstaff","");
$searchWADAstaff_1->clearSearch();
}
?>
I am having the same issue but a little different. The file is attached.
Your clear button is a simple href that goes to the page. You would need to append a url parameter to tell the page to reset the filter. Try this:
<a href="booking-results.php?Search">Clear</a>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.