[thelist] Setting a MySQL value to NULL using PHP

Jay Blanchard jay.blanchard at niicommunications.com
Tue Apr 30 15:29:01 CDT 2002


Howdy folks!

I have been trying for a while, and searching the archives to find a way to
update a MySQL value to NULL from PHP, like

UPDATE tblFOO
SET bar = NULL
WHERE ID LIKE '10%'

but I am not getting the expect results. Any clue as to what might be
causing my problem? I have probably looked at it too closely now, and I am
suffering from brain-freeze.

TIA!
Jay





More information about the thelist mailing list