Warning: Undefined array key "pubid" in /home/wyoext/public_html/publications/Search_Details.php on line 6

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND AvailabilityID != 5' at line 1 in /home/wyoext/public_html/publications/includes/db_connects.php:31 Stack trace: #0 /home/wyoext/public_html/publications/includes/db_connects.php(31): mysqli_query(Object(mysqli), 'SELECT * FROM t...') #1 /home/wyoext/public_html/publications/Search_Details.php(8): DBconnection->query('SELECT * FROM t...') #2 {main} thrown in /home/wyoext/public_html/publications/includes/db_connects.php on line 31