Notice: Undefined index: id_code in /home/casami/domains/ on line 30

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 'and hien_thi=1' at line 1 in /home/casami/domains/ Stack trace: #0 /home/casami/domains/ PDOStatement->execute() #1 /home/casami/domains/ func_index->simple_fetch('select * from c...') #2 /home/casami/domains/ func_index->breadcrumbid(NULL, NULL) #3 /home/casami/domains/ func_index->get_nav_act(NULL) #4 /home/casami/domains/ include('/home/casami/do...') #5 {main} thrown in /home/casami/domains/ on line 288