Re: Re: Inserting NULL Integer Values

From: Date: Sun, 23 Oct 2005 04:30:06 +0000
Subject: Re: Re: Inserting NULL Integer Values
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-224503@lists.php.net to get a copy of this message
On Tue, October 18, 2005 2:15 pm, Shaun wrote: > Thanks for your replies, rather than check each vaule by name I am > trying to > produce a more dynamic solution: > > foreach ($_POST as $key => $value) { > if ($value == '') { > $_POST[$key] == 'NULL'; If you actually have == in this line, that is your trouble. > } > } > -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#224503) next »