MySQL Forums
Forum List  »  PHP

Re: How in PHP 5.2 insert NULL into MySQL 5.0 database with variable value?
Posted by: Sjonnie Longshot
Date: September 24, 2007 02:02PM

I'm not shure if the function was available at the time of the post but I had the same problems and user mysql_escape_string("NULL")
This worked for me.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.