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 1(1064) in 'select id as people_id, first_name as people_first_name, middle_name as people_middle_name, last_name as people_last_name, first_name_o as people_first_name_o, middle_name_o as people_middle_name_o, last_name_o as people_last_name_o, annotation as people_annotation from people where id='