array( 0=>1, 1=>'lt', 2=>'LT', 3=>array('A, Ą','B','C, Č','D','E, Ę, Ė','F','G','H','I, Į, Y','J','K','L','M','N','O','P','R','S, Š','T','U, Ų, Ū','V','Z, Ž')), 1 => array( 0=>2, 1=>'en', 2=>'EN', 3=>array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z')), 2 => array( 0=>3, 1=>'de', 2=>'DE', 3=>array('A, Ä','B','C','D','E','F','G','H','I','J','K','L','M','N','O, Ö','P','Q','R','S','ß','T','U, Ü','V','W','X','Y','Z')), 3 => array( 0=>4, 1=>'fr', 2=>'FR', 3=>array('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z')), 4 => array( 0=>5, 1=>'ru', 2=>'RU', 3=>array('А','Б','В','Г','Д','Е, Ё','Ж','З','И, Й','К','Л','М','Н','О','П','Р','С','Т','У','Ф','Х','Ц','Ч','Ш, Щ','Ъ, Ы, Ь','Э','Ю','Я')), ); $sritys_masyvas = array ( 0 => array( 0=>1, 1=>'Žemės ūkis, žuvininkystė ir maistas'), 1 => array( 0=>2, 1=>'Ekonomika'), 2 => array( 0=>3, 1=>'Finansai'), 3 => array( 0=>4, 1=>'Statistika'), 4 => array( 0=>5, 1=>'Kitos sritys'), 5 => array( 0=>6, 1=>'Organizacijos, tarptautiniai susitarimai'), ); ?> 42000 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 ') zodis FROM agzo WHERE 1=1 and TRIM() != '' and statusas in (1,' at line 1