ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:getrow

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
v5:reference:getrow [2016/01/17 00:51] – ↷ Links adapted because of a move operation mnewnhamv5:reference:connection:getrow [2019/05/08 16:41] (current) – ADODB_ASSOC_CASE not $ADODB_ASSOC_CASE dregad
Line 12: Line 12:
 The function executes a statement and returns the first row of the 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 row of the 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:   
 +  * [[v5:reference:adodb_fetch_mode|$ADODB_FETCH_MODE]] variable, 
 +  [[v5:reference:adodb_assoc_case|ADODB_ASSOC_CASE]] constant, 
 +  * [[v5:reference:connection:setfetchmode|setFetchMode()]] function.
  
 For a detailed description of the SQL and bind parameters passed, see [[v5:reference:connection:execute|execute()]]. For a detailed description of the SQL and bind parameters passed, see [[v5:reference:connection:execute|execute()]].
v5/reference/connection/getrow.txt · Last modified: 2019/05/08 16:41 by dregad