This topic is locked

update NULL value instead of empty

11/13/2012 3:35:40 AM
PHPRunner General questions
C
chanpeter88 author

I am using phprunner 6.1. I want to edit a field to empty value in edit page. But I need update null value to database when the field is empty. I try to set $value['test'] = 'NULL' or $value['test'] = NULL not work in before edit event
the field 'test' is varchar and has set unique , so not allow more than one empty value record.