Null Column With PHPMYADMIN


PHPMYADMIN Null Column Default Value

When an entry is added to a database, you could insert 'NULL' by default if wish to do so. One such example could be that you have a form and the user can insert their email address or leave it blank. If it is left blank, the default 'NULL' value can be inserted instead.

To make the column value NULL,
1) Open PHPMYADMIN.
2) Select Structure.
3) Select edit for the desired column.
4) Select 'Null' for default.
5) Click the 'NULL" checkbox.
6) Select 'Go'.