ID:               40161
 Updated by:       [EMAIL PROTECTED]
 Reported By:      peter dot maxwell at yahoo dot co dot uk
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: N/A
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.


Previous Comments:
------------------------------------------------------------------------

[2007-01-18 15:18:57] peter dot maxwell at yahoo dot co dot uk

Description:
------------
Example 1 in http://uk.php.net/manual/en/function.pdo-prepare.php.

Incorrect syntax in the given example; the array of PDO attributes
should be specified as array( PDO::ATTR_CURSOR => PDO::CURSOR_FWDONLY
), not as written using a comma.

The syntax in the example will not work for users who change from the
default PDO::CURSOR_FWDONLY to PDO::CURSOR_SCROLL.







------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40161&edit=1

Reply via email to