I'm trying to update a date field with NULL but it keeps getting updated with 0000-00-00
UPDATE construction SET $field = 'NULL'";
When I print the query it returns
UPDATE construction SET $field = ''
I've tried everything I can think of; add quotes, remove quotes, use a variable, but I can't update the data correctly.