Yes, that is what is causing the issue, but upon removing that else if statement, I now get an 'Undefined index' error on show if regions that use the session to display. If the session has content from the search box in it, then all is well, but if the clear filter link is clicked - which takes me to a page to kill the search session and instantly redirects back - then I get this error:
Notice: Undefined index: mrsSearchActive in /Users/username/website/search-results.php on line 496
I added the else if to give it some value to prevent the error message... but I obviously broke it without realising what I had done!
I'm straining my brain to figure a way around it! I can't seem to keep the searched text by using the $_POST['searchbox'] alone as the page will not always be visited by the submission of the search!
How can I prevent the error message?