ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:execute

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
v5:reference:connection:execute [2016/01/17 00:36]
mnewnham ↷ Page moved from v5:reference:execute to v5:reference:connection:execute
v5:reference:connection:execute [2019/05/08 16:34]
dregad ADODB_ASSOC_CASE not $ADODB_ASSOC_CASE
Line 13: Line 13:
  
  
-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 [[v5:​reference:​adodb_fetch_mode|$ADODB_FETCH_MODE]] ​variable, the [[v5:​reference:​adodb_assoc_case|ADODB_ASSOC_CASE]] ​constant ​and the [[v5:​reference:​connection:​setfetchmode|setFetchMode()]] ​function.
 ===== Parameters ===== ===== Parameters =====
 ==== Parameter 1 ==== ==== Parameter 1 ====
Line 26: Line 26:
 ==== Result ===== ==== Result =====
 If the execution succeeds, it returns a recordset. This recordset can be used by functions such as [[v5:​reference:​connection:​getupdatesql|getUpdateSQL()]] or [[v5:​reference:​recordset:​fetchrow|fetchRow()]]. If the execution succeeds, it returns a recordset. This recordset can be used by functions such as [[v5:​reference:​connection:​getupdatesql|getUpdateSQL()]] or [[v5:​reference:​recordset:​fetchrow|fetchRow()]].
-if the execution fails, it returns false. You can access errors using [[v5:​reference:​errormsg|errorMsg()]].+if the execution fails, it returns false. You can access errors using [[v5:​reference:connection:​errormsg|errorMsg()]].
 ==== Usage ==== ==== Usage ====
 <code php> <code php>
v5/reference/connection/execute.txt · Last modified: 2019/05/08 16:34 by dregad