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

Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select visit.entrydate as 0entrydate, checkbio.bun as 1_bun, checkbio.creatinine as 2_creatinine, checkbio.sgot as 3_sgot, checkbio.sgpt as 4_sgpt, checkbio.summary as 5_summary from visit, checkbio ,person where visit.s_visit = checkbio.s_visit AND person.s_person = visit.s_person AND person.s_person = ] -> 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 13' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30 Stack trace: #0 /var/www/html/prevent/api/mydoctor/personvisitcheckbio.query.php(28): DbMySql->queryRecords('select \n ...') #1 {main} thrown in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30