For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > April 2007 > cvs: phpdoc /en/reference/pdo reference.xml









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /en/reference/pdo reference.xml
Etienne Kneuss

2007-04-30, 6:59 pm

colder Mon Apr 30 21:36:05 2007 UTC

Modified files:
/phpdoc/en/reference/pdo reference.xml
Log:
Fix #41211 (wrong object used for methods beginTransaction & commit in example)

http://cvs.php.net/viewvc.cgi/phpdo...6&diff_format=u
Index: phpdoc/en/reference/pdo/reference.xml
diff -u phpdoc/en/reference/pdo/reference.xml:1.55 phpdoc/en/reference/pdo/reference.xml:1.56
--- phpdoc/en/reference/pdo/reference.xml:1.55 Tue Feb 27 15:32:08 2007
+++ phpdoc/en/reference/pdo/reference.xml Mon Apr 30 21:36:05 2007
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.55 $ -->
+<!-- $Revision: 1.56 $ -->
<!-- Purpose: database.abstract -->
<!-- Membership: pecl, bundled -->

@@ -636,9 +636,9 @@
$stmt->bindParam(2, $_FILES['file']['type']);
$stmt->bindParam(3, $fp, PDO::PARAM_LOB);

-$stmt->beginTransaction();
+$db->beginTransaction();
$stmt->execute();
-$stmt->commit();
+$db->commit();
?>
]]>
</programlisting>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com