Embed Search Box and Results In Another Web Page
Posted: Wed Jun 12, 2019 8:43 pm
I'm wondering if there is a way to embed with a PHP include or require the search.php page into another PHP on my site. The idea being a visitor would be on an existing page and insert a query into the search form, pressed Search and the page would reload, but now display the search results within the existing page.
I've tried including search.php in a page, but all I get is blank page when it is run.
Anyone had any success with this.
Thank you!
I've tried including search.php in a page, but all I get is blank page when it is run.
Anyone had any success with this.
Thank you!