Incorrect integer value: '' for column 'sconto' at row 1
questo è quello che accade se uso una query del tipo
nel database quel campo sconto è impostato come NULL;Codice PHP:
mysql_query("insert into table (sconto) values ('') ");
provando questo codice su easyphp 2.1b non ho avuto problemi.
qualcuno sa cosa devo modificare per non avere errori di questo tipo?