ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:getrowassoc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
reference:getrowassoc [2015/08/05 03:01] – created mnewnhamv5:reference:getrowassoc [2016/01/15 02:29] mnewnham
Line 3: Line 3:
 <WRAP alert> <WRAP alert>
 Using this function when the fetch mode is set to ADODB_FETCH_ASSOC may produce unpredictable results Using this function when the fetch mode is set to ADODB_FETCH_ASSOC may produce unpredictable results
 +</WRAP>
 +<WRAP todo>
 +Currently, after the first call to getRowAssoc, any changes to ''$upperCase'' have no effect
 </WRAP> </WRAP>
  
Line 12: Line 15:
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
-The function ''getRowAssoc()'' returns the current row of a recordset in associative mode if the recordset was originally fetched in numeric mode. The second parameter ''$upperCase'' indicates whether the keys of the recordset should be upper case or lower case. The constant [[reference:ADODB_ASSOC_CASE]] has no effect on the returned row keys.+The function ''getRowAssoc()'' returns the current row of a recordset in associative mode if the recordset was originally fetched in numeric mode. The second parameter ''$upperCase'' indicates whether the keys of the recordset should be upper case or lower case. The constant [[v5:reference:adodb_assoc_case]] has no effect on the returned row keys.
 -------------------------------------- --------------------------------------
 ===== Usage ===== ===== Usage =====
Line 45: Line 48:
     [actdesc] => ESTIMATE COST */     [actdesc] => ESTIMATE COST */
 </code> </code>
 +
 +{{tag>[PEAR]}}
v5/reference/connection/getrowassoc.txt · Last modified: 2016/01/17 01:08 by mnewnham