bad SQL query: SELECT tablex.id,tablex.sef_url,tablex.redirect_url,tablex.name,tablex.flag,tablex.visible,tablex.mod_id,tablex.image_1, tree.id AS tree_id, tree.sx AS tree_sx, tree.dx AS tree_dx FROM nlkd_navigation AS tablex, nlkd_tree AS tree WHERE tablex.tree_id = tree.id AND tree.sx > AND tree.dx < AND tree.boxes_id=0 AND tree.lang_id='LT' AND tree.sec_id='main' ORDER BY tree.sx ASC
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 tree.dx < AND tree.boxes_id=0 ' at line 11 LKD