I want a value to be set to NULL if nothing is put into the text box in the form I\'m submitting. How can I make this happen? I\'ve tried inserting \'NULL
NULL
\'NULL
Don't put NULL inside quotes in your update statement. This should work:
UPDATE table SET field = NULL WHERE something = something