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 '' at line 1SELECT prt_id as id, prt_id as name FROM smn_catalogue WHERE prt_parent_id=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 ')' at line 1SELECT val_sval,val_atr_id,val_lot_id FROM smn_attribs_vals WHERE val_atr_id in (1) AND val_lot_id in ()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 ') ORDER BY val_sval' at line 1SELECT val_sval,val_atr_id,val_lot_id FROM smn_attribs_vals WHERE val_atr_id in (1,4) AND val_lot_id in () ORDER BY val_sval
8 495 781 84 45
8 495 781 84 46