mq(SELECT DB_VARCHAR_LINK FROM LIBAVA_LINKS WHERE DB_VARCHAR_TYPE='page' AND DB_INT_LANG= ORDER BY ID ASC LIMIT 1 OFFSET 0) returned error.error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY ID ASC LIMIT 1 OFFSET 0' at line 1 mq(SELECT DB_INT_OBJ_ID FROM LIBAVA_LINKS WHERE DB_VARCHAR_TYPE='page' AND DB_INT_LANG= ORDER BY ID ASC LIMIT 1 OFFSET 0) returned error.error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY ID ASC LIMIT 1 OFFSET 0' at line 1
lang1 lang2 lang3 lang4
mq(SELECT DB_VARCHAR_TEXT FROM LIBAVA_HEADER_T WHERE DB_INT_LANG=) returned error.error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1
    mq(SELECT T1.*, T1T.DB_VARCHAR_TITLE AS DB_VARCHAR_TITLE, T1L.DB_VARCHAR_LINK AS DB_VARCHAR_LINK FROM LIBAVA_PAGES T1, LIBAVA_PAGES_TITLES T1T, LIBAVA_LINKS T1L WHERE T1.ID=T1T.DB_INT_PAGE_ID AND T1T.DB_INT_LANG= AND T1.ID=T1L.DB_INT_OBJ_ID AND T1L.DB_VARCHAR_TYPE='page' AND T1L.DB_INT_LANG= AND T1.DB_INT_PARENT_ID=0 ORDER BY T1.DB_INT_POSITION ASC) returned error.error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND T1.ID=T1L.DB_INT_OBJ_ID AND T1L.DB_VARCHAR_TYPE='page' AND T1L.DB_INT_LAN...' at line 1