• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

phpMyAdmin Accepts NULL in the NOT NULL field

mysqlsqldatabasephpmyadmin


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.

Related Snippets

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given [duplicate]

php retrieve specific data onclick from database in a list format

Post Form Data To phpmyadmin Database

Laravel Database Strict Mode

sqlsrv_num_rows() expects parameter 1 to be resource, boolean given

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]

Delete a database in phpMyAdmin

How to map the two arrays with a duplicate value?

MySQL/PHP - Web Based Game -User specific inventory table or 1 giant table? Another option?

Doctrine 2 mapping referencing unique key

I want to display a sweetalert after the inserting of data in my database

How to disable only_full_group_by option in Laravel

Laravel print last executed SQL query with Query log

How to display MySQL table using php and edit it in a web browser

Undefined Array Key error when uploading image on php

About Contact Privacy policy Terms and conditions