Warning: Undefined array key "q" in /home/periyaruni/public_html/Dept/boots/deptpage.php on line 35

Fatal error: Uncaught mysqli_sql_exception: 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 ') AND (employee_master.place = 1) and `employee_master`.`status` =1 order b...' at line 3 in /home/periyaruni/public_html/Dept/boots/include/dbconn.php:13 Stack trace: #0 /home/periyaruni/public_html/Dept/boots/include/dbconn.php(13): mysqli_query(Object(mysqli), 'SELECT e...') #1 /home/periyaruni/public_html/Dept/boots/deptpage.php(42): dbconn->query('SELECT e...', 4) #2 {main} thrown in /home/periyaruni/public_html/Dept/boots/include/dbconn.php on line 13