Mdb2 executeMultiple results in: Fatal error (Call to undefined function: bindvaluearray)

From: Date: Fri, 07 Jul 2006 21:34:10 +0000
Subject: Mdb2 executeMultiple results in: Fatal error (Call to undefined function: bindvaluearray)
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-24595@lists.php.net to get a copy of this message
Hi, I'm having trouble using mdb2's executeMultiple feature, here is my code: require_once 'MDB2.php'; $mdb2 =& MDB2::connect('mysql://[user]:[pw]@localhost/[db]'); // my data to insert looks like this, this is the first of about 500 items in the $data array $data-Array ( [0] => Array ( [film_id] => 20060 [is_active] => 1 [titel] => Amadeus [laenge] => 160 [originaltitel] => Amadeus [darsteller] => F. Murray Abraham; Tom Hulce; Elizabeth Berridge [regisseur] => Milos Forman [drehbuch] => Peter Shaffer [drehjahr] => 1983 [herstellungsland] => USA [genre] => Biografie; Drama [neustart] => N [fsk] => 12 [kinderfilm] => N [kurzinhalt] => Die letzten zehn Lebensjahre von .. [zitat_internet] => "Mozart, von Regisseur Forman .." (Lexion des Internationalen Films) [transaktionskennzeichen] => ) ... ) // the prepare_sql $prepare_fd_query = "INSERT INTO [dbname] VALUES ( :film_id, :is_active, :titel, :laenge, :originaltitel, :darsteller, :regisseur, :drehbuch, :drehjahr, :herstellungsland, :genre, :neustart, :fsk, :kinderfilm, :kurzinhalt, :zitat_internet, :transaktionskennzeichen )"; $mdb2->loadModule('Extended'); $prepare = $mdb2->prepare( $prepare_fd_query ); $affected = $mdb2->extended->executeMultiple( $prepare, $data ); This results in an fatal error: Fatal error: Call to undefined function: bindvaluearray() in C:\Programme\xampp_1-4-15\xampp\php\pear\MDB2\Extended.php on line 550 Im running php 4.4.0, Apache/2.0.54, MySQL 4.1.13-nt-max on a win xp pro / sp2 machine. Any help would be highly appreciated! Thanks, Patrick --

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