ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:getcol

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
v5:reference:connection:getcol [2016/01/17 00:47] – ↷ Page moved from v5:reference:getcol to v5:reference:connection:getcol mnewnhamv5:reference:connection:getcol [2016/04/22 02:36] – [Description] mnewnham
Line 11: Line 11:
  
 ===== Description ===== ===== Description =====
-The function executes a statement and returns the first column of 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 the first column of each row of the 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 [[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()]]. 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()]].
v5/reference/connection/getcol.txt · Last modified: 2019/05/08 16:41 by dregad