sayedsohail Posted October 4, 2007 Share Posted October 4, 2007 Hi everyone, When i do a simple insert with some fileds empty, i am getting this error mysqlerror 1366, i tried looking at google, some says use if empty(mysqlSafe(0)) some says it has to do with mysql (my.ini). And there is no straight answer to this, this error only occured when i removed xampp installation and install apahce, mysql , php separately. Can some please advise how to get rid of this error. thanks. Link to comment https://forums.phpfreaks.com/topic/71848-mysqlerror-1366/ Share on other sites More sharing options...
sayedsohail Posted October 4, 2007 Author Share Posted October 4, 2007 @@global.sql_mode STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION Link to comment https://forums.phpfreaks.com/topic/71848-mysqlerror-1366/#findComment-361899 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.