ERROR
Your query: SELECT id,url,tp0 FROM menu_ru WHERE rid= AND visible=1 AND NOT ( id = '462' ) ORDER BY pos ASC
MySQL said: 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 'AND visible=1 AND NOT ( id = '462' ) ORDER BY pos ASC' at line 1