dbs Sun Nov 27 01:45:15 2005 EDT
Modified files: /phpdoc/en/reference/pdo/functions PDOStatement-closeCursor.xml Log: Typo -- should create a new, second statement object in example. http://cvs.php.net/diff.php/phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml diff -u phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.4 phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.5 --- phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml:1.4 Sun Sep 11 02:22:26 2005 +++ phpdoc/en/reference/pdo/functions/PDOStatement-closeCursor.xml Sun Nov 27 01:45:14 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. --> <refentry id="function.PDOStatement-closeCursor"> <refnamediv> @@ -103,7 +103,7 @@ $stmt = $dbh->prepare('SELECT foo FROM bar'); /* Create a second PDOStatement object */ -$stmt = $dbh->prepare('SELECT foobaz FROM foobar'); +$otherStmt = $dbh->prepare('SELECT foobaz FROM foobar'); /* Execute the first statement */ $stmt->execute();