Jump to content


Photo

Setting field to null?


  • Please log in to reply
2 replies to this topic

#1 justravis

justravis
  • Members
  • PipPipPip
  • Advanced Member
  • 115 posts
  • LocationSan Diego, CA

Posted 14 January 2003 - 10:32 PM

How do u update a field to null?

I could \"set field=\'null\'\", but that would not really be null.
PHP version 5.2.6 | MySQL version 5.0.51a-community

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 14 January 2003 - 11:35 PM

this should do it set field=NULL and no, that would no work — double check here: http://www.mysql.com..._with_NULL.html
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 justravis

justravis
  • Members
  • PipPipPip
  • Advanced Member
  • 115 posts
  • LocationSan Diego, CA

Posted 15 January 2003 - 12:49 AM

THANKS..that seemed to do it...case closed.
PHP version 5.2.6 | MySQL version 5.0.51a-community




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users