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  


 [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] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!