si, l'avevo notato anche io quel valida_dal, l'ho modificato ma sempre errore ricevo:
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 ') or ( month(valida_da)=2 and month((date_add(valida_da,interval day)) = 2 ) or' at line 2

Rispondi quotando