Chyba v dotazu: SELECT langtext FROM textpart WHERE idrecord= AND idlang=1 AND idtextcolumn=12