I just can't can find an answer for my question. If there is on stack overflow, just post it and I will delete my post.
My problem:
I want to accept null values in a mysql column, but not by default. When I insert a row I should also set a value for that column and that should be required.
Right now, in phpmyadmin, if I check Null field (to accept null values), the field Default (default value) will be automatically set with null value. That means that I can omit to set a value for that column in an insert query and it will be filled automatically with a null value.
When did I say a column should be auto-filled if is not set ? I said to accept null values, not to be auto-filled.
Do I miss something ?
insertquery.INSERTto specify the value of the column, not allow it to be defaulted.