Invalid querry!SELECT es_properties.*, title, content FROM es_properties LEFT JOIN es_translation ON (es_properties.id=es_translation.ownerid) WHERE (es_translation.ownertype='property') AND (lang='ru') AND (es_properties.id=) Error: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