Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #1245 Typo in Example 22-2
Submitted: 2004-04-20 13:04 UTC
From: tobias dot nix at web dot de Assigned: danielc
Status: Closed Package: Documentation
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2004-04-20 13:04 UTC] tobias dot nix at web dot de
Description: ------------ There is a typo in example 22-2 (Passing an array to execute()) original: $sth = $db->prepare('INSERT INTO numbers VALUES (?, ?, ?)'); $data = array(1, 'one', 'en'); $db->execute($sth, $row); the variable $data should be $row: $row = array(1, 'one', 'en'); $db->execute($sth, $row);

Comments

 [2004-04-20 13:31 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!