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

Bug #18474 MDB2_FETCHMODE_ASSOC does not work with mssql driver
Submitted: 2011-04-21 21:34 UTC Modified: 2011-04-22 00:44 UTC
From: a21wat Assigned:
Status: Duplicate Package: MDB2 (version 2.5.0b3)
PHP Version: 5.3.1 OS: Linux
Roadmaps: 2.5.0b4    
Subscription  


 [2011-04-21 21:34 UTC] a21wat (Andre Watts)
Description: ------------ When setting the fetchmode: while ($tarr = $tresult->fetchRow(MDB2_FETCHMODE_ASSOC)){ echo $tarr[test_var]; } php generates error: PHP Notice: Undefined index: test_var in ..... tried to set fetchmode after connection using: $db3->setFetchMode(MDB2_FETCHMODE_ASSOC) to no avail. Only MDB2_FETCHMODE_DEFAULT works

Comments

 [2011-04-22 00:44 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Duplicate
Bug #18473