Notice: Undefined index: search in /var/www/html/prevent/api/myreport/checkbio.query.php on line 4

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select person.s_person, s_checkbio , checkbio.s_visit , visit.visitdate as visitdate, bun, creatinine, sgot, sgpt, summary, person.s_mate, mate.name as matename from person, checkbio, visit, mate where checkbio.s_visit = visit.s_visit AND person.s_person = visit.s_person AND person.s_mate = mate.s_mate AND visit.s_visit = ] -> 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 22' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30 Stack trace: #0 /var/www/html/prevent/api/myreport/checkbio.query.php(38): DbMySql->queryRecords('select \n per...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30