note 111446 rejected from pdo.commit by danbrown

From: Date: Mon, 04 Mar 2013 18:00:32 +0000
Subject: note 111446 rejected from pdo.commit by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-193865@lists.php.net to get a copy of this message
Note Submitter: gicapopescu at gmail dot com ---- - I need some help please - I don't understand Example #1, because of this part of the code: foreach ($fruits as $fruit) { $sth->execute(array( $fruit->name, $fruit->colour, $fruit->calories, )); 1# - It does iterate over an object, array or what? - I've tried both ... and of course, both give errors 2# - When it is said "Insert multiple records...", I understand "more than one row", am I wrong?

« previous php.notes (#193865) next »