Riparian Posted February 28, 2009 Share Posted February 28, 2009 Hi. I have just upgraded my localhost (running windows xp pro) to; apache 2.2.11 mysql 5.1.31 php 5.2.9 All seems to be working correctly except I get the following message when creating a new record (using input) to a mysql table. error in function xxxxxxx Field xxxxx doesnt have a default value This is correct as the table has 70 fields and I am creating a new record with only a few. This appears as this wants me to insert a value into every field when creating a record. (that would really upset me Can someone please tell me if this is correct or is there a switch in apache or php.ini or somewhere to turn this off. Any help is greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/147254-solved-field-xxxxx-doesnt-have-a-default-value/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.