Error 1064: Error in query "select publicationtree_parent_id, publicationtree_title_eng. from publicationtree where publicationtree_id = '149'" 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 'from publicationtree where publicationtree_id = '149'' at line 1