Doc #63877 [Opn->Csd]: [FR] Mistake in the example

From: Date: Tue, 08 Jan 2013 10:35:16 +0000
Subject: Doc #63877 [Opn->Csd]: [FR] Mistake in the example
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9370@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63877&edit=1 ID: 63877 Updated by: yannick@php.net Reported by: faror91 at gmail dot com Summary: [FR] Mistake in the example -Status: Open +Status: Closed Type: Documentation Problem Package: Translation problem PHP Version: 5.5.0alpha2 -Assigned To: +Assigned To: yannick Block user comment: N Private report: N 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: ------------------------------------------------------------------------ [2013-01-08 10:34:53] yannick@php.net Automatic comment from SVN on behalf of yannick Revision: http://svn.php.net/viewvc/?view=revision&revision=329016 Log: Fix bug #63877 ------------------------------------------------------------------------ [2012-12-31 03:41:34] mail+php at requinix dot net http://php.net/manual/fr/pdostatement.fetchcolumn.php The English version has the "1". ------------------------------------------------------------------------ [2012-12-31 01:43:16] faror91 at gmail dot com Description: ------------ I'm sorry, I don't speak english very well, but I think there is a mistake in the "Example #1 Return first column of the next row" in the french version of the web site this isn't "print("Récupère la deuxième colonne depuis la ligne suivante d'un jeu de résultats :\n"); $result = $sth->fetchColumn(); print("couleur=$result\n");" it lacks the number "1" as parameter of fetchColumn() So this is: print("Récupère la deuxième colonne depuis la ligne suivante d'un jeu de résultats :\n"); $result = $sth->fetchColumn(1); print("couleur=$result\n"); Thank you for changing the script ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63877&edit=1

« previous php.doc.bugs (#9370) next »