I can't make the empty value to be checked as NULL in database instead of leaving an empty space when I am inserting a value.
I don't want to leave an empty/blank space for an entry when it has no value. So if there is no file selected, make that entry into NULL
Is it unnecessary to be in NULL?
if (empty($_FILES['logo']['name'])) {
$code = NULL;
} else {
}