i have a address field and null is set to no. but when i insert record to table with empty address field , record added to table. and address column is empty.
why record add to table despite address empty?
i have a address field and null is set to no. but when i
Share
Null and empty are two different things, you need to validate with php before sending data to database. ie;