ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:getarray

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:getarray [2015/07/21 21:35] – created mnewnhamv5:reference:connection:getarray [2016/01/17 00:50] – ↷ Page moved from v5:reference:getarray to v5:reference:connection:getarray mnewnham
Line 1: Line 1:
 ====== getArray ====== ====== getArray ======
 ~~NOTOC~~ ~~NOTOC~~
-<WRAP tip+<WRAP important
-The functions ''getArray()'' and [[reference:getall|getAll()]] produce the same output. The functions may be merged in future releases.+The functions ''getArray()'' and [[v5:reference:connection:getall|getAll()]] produce the same output. The functions may be merged in future releases.
 </WRAP> </WRAP>
 <WRAP right box> <WRAP right box>
Line 15: Line 15:
 The function executes a statement and returns a the entire recordset in an array or false if the statement execution fails. If no records match the provided SQL statement, an empty array is returned. The function executes a statement and returns a the entire recordset in an array or false if the statement execution fails. If no records match the provided SQL statement, an empty array is returned.
  
-The presentation of the returned data can be modified by the variables [[reference:adodb_fetch_mode|$ADODB_FETCH_MODE]]  and [[reference:adodb_assoc_case|$ADODB_ASSOC_CASE]] and the function [[reference:setfetchmode|setFetchMode()]].+The presentation of the returned data can be modified by the variables [[v5:reference:adodb_fetch_mode|$ADODB_FETCH_MODE]]  and [[v5:reference:adodb_assoc_case|$ADODB_ASSOC_CASE]] and the function [[v5:reference:connection:setfetchmode|setFetchMode()]].
  
-For a detailed description of the parameters passed, see [[reference:execute|execute()]].+For a detailed description of the parameters passed, see [[v5:reference:connection:execute|execute()]].
  
 ==== Usage ==== ==== Usage ====
v5/reference/connection/getarray.txt · Last modified: 2019/05/08 16:40 by dregad