How to clear search with new MySQLi structure
With the previous version of DataAssist, I was able to 'clear' a search on the results page and show all by including "?clear=true" at the end of the URL string, and having this code on line one of the results page:
<?php
@session_start();
if(isset($_GET['clear']) && $_GET['clear'] == "true") {if(isset($_SESSION['WADbSearch1_tbl_images_results'])) unset($_SESSION['WADbSearch1_tbl_images_results']);}
?>
I've looked, and experimented with various values in this code, and confirmed that "WADbSearch1_tbl_images_results" in the Sessions panel is the correct name.
Did something change when it switched to MySQLi? How do I remedy? Results page attached.