select
InstitutionTypeSingular.Name
from
InstitutionTypeSingular
where
InstitutionTypeSingular.ID= and
InstitutionTypeSingular.LanguageID =6You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and
InstitutionTypeSingular.LanguageID =6' at line 6

+++ DB-Error. file/pos =queries.php/6622.

SELECT SQL_CACHE
Institution.ID,
(InstitutionClient.ClientStatus IS NOT NULL) AS showLink,
(InstitutionClient.ClientStatus = 'PRO') AS showGlobe,
(InstitutionClient.ClientStatus = 'MEM' ) AS showGlobeMEM,
(InstitutionClient.ClientStatus = 'END') AS closed
FROM
Institution
LEFT JOIN InstitutionClient ON Institution.ID = InstitutionClient.InstitutionID
WHERE
Institution.ID = 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 11