Req #63877 [NEW]: Mistake in the example

From: Date: Mon, 31 Dec 2012 01:43:16 +0000
Subject: Req #63877 [NEW]: Mistake in the example
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9331@lists.php.net to get a copy of this message
From: faror91 at gmail dot com Operating system: PHP version: 5.5.0alpha2 Package: Documentation problem Bug Type: Feature/Change Request Bug description:Mistake in the example 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 bug report at https://bugs.php.net/bug.php?id=63877&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63877&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63877&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63877&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63877&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63877&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63877&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63877&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63877&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63877&r=support Expected behavior: https://bugs.php.net/fix.php?id=63877&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63877&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63877&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63877&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63877&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63877&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63877&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63877&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63877&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63877&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63877&r=mysqlcfg

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