Hi folks
I have been working with my website using php, MySQL and Apache.
It worked fine. Recently I transferred it to Windows Server 2012 machine with IIS 8, MySQL and php.
When I try to insert a new record into MySQL databse I get the following error:
Database query failed: Incorrect integer value: '' for column 'columnname' at row 1
The problem is that my insert statement uses single quotes around all values as given below:
INSERT INTO table_name (primarykey, item1, item2, item3) VALUES ('value1' ,'value2','value3','value4')
This statement works fine on wampserver on windows environment and also on my Linux host (production server) but it fails on IIS 7.5.
Does it has anything to do with IIS or MySQL?