Is there a way to deny certain records from being inserted into the database, if they have a certain value for a field.
Thanks in advance.
first thing that came to mind, preg_match function, if it returns true then dont insert record, simple as that.