Notice: Undefined index: search in /var/www/html/strategic/api/dashboard1/ittarget.query.php on line 4

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [SELECT s_ittarget, s_indicatortp, targetdate, target, value FROM ittarget WHERE ittarget.s_indicatortp = ] -> 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 '' at line 10' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30 Stack trace: #0 /var/www/html/strategic/api/dashboard1/ittarget.query.php(23): DbMySql->queryRecords('SELECT \n\ts_itta...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30