You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE listdir ='Y' AND (olname like 'H%' OR petname like 'H%' ) AND memdID ...' at line 1
Fatal error: Uncaught Error: Call to undefined function format_search_results2() in /tools/petmems/ Stack trace: #0 /home/vilvet/public_html/petmems/search.php(2): include() #1 {main} thrown in /tools/petmems/ on line 69