phpMyAdmin Accepts NULL in the NOT NULL field
PHP Snippet 1:
SET SQL_MODE='STRICT_ALL_TABLES'
PHP Snippet 2:
SQL_MODE='STRICT_ALL_TABLES'
PHP Snippet 3:
# You can copy this file to
# C:/xampp/mysql/bin/my.cnf to set global options,
# mysql-data-dir/my.cnf to set server-specific options (in this
# installation this directory is C:/xampp/mysql/data) or
# ~/.my.cnf to set user-specific options.