Warning: Undefined array key "emp_id" in D:\xampp\htdocs\m_m\indent\indent_inf_status_latest_with_pc.php on line 16
Warning: Undefined array key "emp_name" in D:\xampp\htdocs\m_m\indent\indent_inf_status_latest_with_pc.php on line 17
Warning: Undefined array key "employee" in D:\xampp\htdocs\m_m\indent\indent_inf_status_latest_with_pc.php on line 18
Warning: Undefined array key "show_mast" in D:\xampp\htdocs\m_m\indent\indent_inf_status_latest_with_pc.php on line 19
Warning: Undefined array key "show_user" in D:\xampp\htdocs\m_m\indent\indent_inf_status_latest_with_pc.php on line 20
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'UNION Select a1.*, concat(a2.f_name,' ',a2.l_name) As indentor_name, a5.depar...' at line 1 in D:\xampp\htdocs\m_m\include\db_conn\db.class_mm.php:83
Stack trace:
#0 D:\xampp\htdocs\m_m\include\db_conn\db.class_mm.php(83): PDOStatement->execute()
#1 D:\xampp\htdocs\m_m\indent\indent_inf_status_latest_with_pc.php(61): db_mm->getAll('Select a1.*, co...')
#2 {main}
thrown in D:\xampp\htdocs\m_m\include\db_conn\db.class_mm.php on line 83