arghhh andiamo meglio ma mi è uscito questo
SELECT email FROM tabella WHERE 1 AND cat LIKE ('agricoltura','direzione','paghe','sport','social e') AND prov IN ('AL','BI','AT','CN','NO','TO','VB','VC') ORDER BY id
KO: SELECT email FROM tabella WHERE 1 AND cat LIKE ('agricoltura','direzione','paghe','sport','social e') AND prov IN ('AL','BI','AT','CN','NO','TO','VB','VC') ORDER BY 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 ''direzione','paghe','sport','sociale') AND prov IN ('AL','BI'
e non so più che fare![]()
perchè mi scrive KO????
è tutto giusto

Rispondi quotando