Ошибка запроса: 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 vis=0 ORDER BY img_num' at line 1
SQL:SELECT * FROM transm_parts WHERE unit_id= AND vis=0 ORDER BY img_num