Центр сравнительных социально-экономических и политических исследований



Руководитель: Семененко Ирина Станиславовна
чл.-к., д.полит.н., заместитель директора по научной работе
semenenko@imemo.ru | +7 (499) 120-4535

 

SQL 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 'OR o.otdel2= OR o.otdel3= OR o.otdel= OR o.otdel2= OR o.otdel3= OR p.otdel=615 O' at line 3 at /home/imemon/html/site_template/cmpl_tmp/pers-podr-center.html.php line 199
Array
(
    [code] => 1064
    [message] => 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 'OR o.otdel2= OR o.otdel3= OR o.otdel= OR o.otdel2= OR o.otdel3= OR p.otdel=615 O' at line 3
    [query] => SELECT count(*) AS count FROM persons AS p 
                    INNER JOIN adm_pages AS o ON o.page_id=p.otdel 
					WHERE (p.otdel=610 OR p.otdel2=610 OR p.otdel3=610 OR o.otdel= OR o.otdel2= OR o.otdel3= OR o.otdel= OR o.otdel2= OR o.otdel3= OR p.otdel=615 OR p.otdel2=615 OR p.otdel3=615 OR o.otdel= OR o.otdel2= OR o.otdel3= OR o.otdel= OR o.otdel2= OR o.otdel3= OR p.otdel=614 OR p.otdel2=614 OR p.otdel3=614)
    [context] => /home/imemon/html/site_template/cmpl_tmp/pers-podr-center.html.php line 199
)