exception 'PDOException' with message '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 tin_use = 'Y' order by tin_noti_date desc, tin_seq desc limit 1' at line 1' in /data/www/htdocs/samhodev_new/lib/lib.php:1105 Stack trace: #0 /data/www/htdocs/samhodev_new/lib/lib.php(1105): PDO->prepare('select * from t...') #1 /data/www/htdocs/samhodev_new/lib/lib.php(17): pdo_query(Object(PDO), 'select * from t...') #2 /data/www/htdocs/samhodev_new/eng/pc/view/investment/announcement_view.php(28): _MQ('select * from t...') #3 {main}