Notice: Undefined index: search in /var/www/html/prevent/api/mydoctor/personvisitchecktoxicology.query.php on line 4
Fatal error: Uncaught exception 'Exception' with message 'DbMySql->DbMySql::queryRecords: sql [select
visit.entrydate as 0entrydate,
checktoxicology.lead as 1_lead,
checktoxicology.hippuric as 2_hippuric,
checktoxicology.styrene as 3_styrene,
checktoxicology.acetone as 4_acetone,
checktoxicology.t_muconic as 5_t_muconic,
checktoxicology.chloride as 6_chloride,
checktoxicology.summary as 7_summary
from
visit, checktoxicology ,person
where
visit.s_visit = checktoxicology.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 15' in /var/www/html/lib/nmd15/db/mySql/DbMySql.php:30
Stack trace:
#0 /var/www/html/prevent/api/mydoctor/personvisitchecktoxicology.query.php(30): DbMySql->queryRecords('select \n ...')
#1 {m in /var/www/html/lib/nmd15/db/mySql/DbMySql.php on line 30