Is this a bug with MDB2_Extended executeMultiple?

From: Date: Fri, 01 Feb 2008 22:58:43 +0000
Subject: Is this a bug with MDB2_Extended executeMultiple?
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28501@lists.php.net to get a copy of this message
Hello! I noticed that when I use extended module to run executeMultiple, and one of the values begins with a '#', then the method fails for example (this is from MDB2 documentation, only value of 2nd element is changed) I need to insert the value of HTML color, so it has to start with a '#' |$mdb2->loadModule('Extended', null, false); $alldata = array(array(1, 'one', 'en'),
                array(2, 'two', '#FFCC99'),
                array(3, 'three', 'tre'),
                array(4, 'four', 'fire'));
$sth = $mdb2->prepare('INSERT INTO numbers VALUES (?, ?, ?)'); $mdb2->extended->executeMultiple($sth, $alldata); I get an error, a stange Pear error: MDB2 Error: not found Usually this 'not found' means that a module is not installed. But it's not true in my case because if I use the same code only without the '#' in the value, it will work I wonder if this is a bug? | -- Open Source ALL content management with streaming video http://wiki.sharedlog.com

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