test
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 id_kat_1 = 6 AND id_kat_2 = 1 AND id_kat_3' at line 4 SQL = SELECT data_json FROM tabelle_storage WHERE id_table_ref_id = 1 AND ref_id = AND id_kat_1 = 6 AND id_kat_2 = 1 AND id_kat_3 = 1