PHP MYsql auto increment insert query problem on IIS

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
allmywebsite1
Forum Newbie
Posts: 1
Joined: Tue Aug 05, 2008 10:45 am

PHP MYsql auto increment insert query problem on IIS

Post by allmywebsite1 »

getting this error

Database error:
Invalid SQL: insert into imukstate (state_id,printable_name,country_id) VALUES('',' gujarat','99')
mysql error: Incorrect integer value: '' for column 'state_id' at row 1
mysql error number: 1366
Date: Tuesday 05th 2008f August 2008 05:28:33 PM
Script:
Referer:


now the scene is i m using mysql on windows + IIS.. its my liver server

i cant change script. because i had purchased from other.. if i change i need to chnage for lot of pages.. that i dont want to..

plz help me for it.
thanks
User avatar
ghurtado
Forum Contributor
Posts: 334
Joined: Wed Jul 23, 2008 12:19 pm

Re: PHP MYsql auto increment insert query problem on IIS

Post by ghurtado »

allmywebsite1 wrote: i cant change script. because i had purchased from other.. if i change i need to chnage for lot of pages.. that i dont want to..
If you dont want to make any changes, what kind of help can anyone provide to you?
Post Reply