ERROR: Could not able to execute SELECT * from buildings where buildingID = . 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 1ERROR: Could not able to execute SELECT * from documents where access_ma=1 AND buildingID = . 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