Re: DB, prepare() and NULL values

From: Date: Mon, 03 Apr 2006 17:56:50 +0000
Subject: Re: DB, prepare() and NULL values
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23522@lists.php.net to get a copy of this message
As a workaround....try not preparing fields which need to be set to NULL perhaps?
I'm not sure I follow. So the suggested work around would include 2 queries? One that is prepare()'d/execute()'d that do not contain those fields that can have a NULL value and a second query where I do that manually? If that's not what you meant, could you expand on your comment a little?
Oh, and I also suggest looking into MDB2, perhaps it can do what you want.
I'll look into it. Though, I'd be somewhat reticent to switch as it would require a fair bit of regression testing to make sure nothing undue arose as a result. Thanks for your time and assistance! thnx, Chris

« previous php.pear.general (#23522) next »