Notice: Undefined index: ifmtId in C:\inetpub\wwwroot\buildings.crru.ac.th\2023\include_head_news.php on line 11
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 'ORDER BY `ifmtId` DESC LIMIT 1' at line 1 in C:\inetpub\wwwroot\buildings.crru.ac.th\2023\include_head_news.php:12
Stack trace:
#0 C:\inetpub\wwwroot\buildings.crru.ac.th\2023\include_head_news.php(12): mysqli->query()
#1 C:\inetpub\wwwroot\buildings.crru.ac.th\2023\suansomdej_view.php(6): include('C:\\inetpub\\wwwr...')
#2 {main}
thrown in C:\inetpub\wwwroot\buildings.crru.ac.th\2023\include_head_news.php on line 12