Skip navigation links

MySQL Forums :: PHP :: How in PHP 5.2 insert NULL into MySQL 5.0 database with variable value?


Advanced Search

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


Subject Written By Posted
How in PHP 5.2 insert NULL into MySQL 5.0 database with variable value? condor 11/28/2006 02:21AM
Re: How in PHP 5.2 insert NULL into MySQL 5.0 database with variable value? Bob Field 11/28/2006 09:59AM
Re: How in PHP 5.2 insert NULL into MySQL 5.0 database with variable value? condor 11/30/2006 06:10AM
Re: How in PHP 5.2 insert NULL into MySQL 5.0 database with variable value? Bob Field 11/30/2006 09:39AM
Re: How in PHP 5.2 insert NULL into MySQL 5.0 database with variable value? condor 12/04/2006 01:01AM
Re: How in PHP 5.2 insert NULL into MySQL 5.0 database with variable value? Sjonnie Longshot 09/24/2007 02:02PM


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.