Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b5

Bug #8857 Parameter $reverse for getColumnNames doesn't get the rigth result
Submitted: 2006-10-05 09:17 UTC
From: tbaecker at hiconsult dot de Assigned: lsmith
Status: Closed Package: MDB2 (version 2.2.2)
PHP Version: 5.1.4 OS: XP
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 44 - 29 = ?

 
 [2006-10-05 09:17 UTC] tbaecker at hiconsult dot de (Tom)
Description: ------------ Parameter $reverse for getColumnNames doesn't get the rigth result Test script: --------------- ... $sql= "SELECT * FROM user"; $x = $conObj->query($sql); $colName = $x->getColumnNames(true); print_r($colName); get Array ( [office] => 3 [mail] => 2 [user] => 1 [id] => 0) Expected result: ---------------- get Array ( [0] => id [1] => user [2] => mail [3] => office)

Comments

 [2006-10-05 22:10 UTC] lsmith (Lukas Smith)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.