API17

JDatabase::loadResultArray: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Method to get an array of values from the  field in each row of the result set from the database query.  
Method to get an array of values from the  field in each row of the result set from the database query.  


{{subst:Description:JDatabase::loadResultArray}}
 


<source lang="php">
<source lang="php">
Line 30: Line 30:
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Database|Database]]
* [[API17:JDatabase::loadResultArray|Other versions of JDatabase::loadResultArray]]
* [[API17:JDatabase::loadResultArray|Other versions of JDatabase::loadResultArray]]
{{subst:SeeAlso:JDatabase::loadResultArray}}
 


===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
noresultsheader=\n
noresultsheader=\n
category=JDatabase::loadResultArray
category=JDatabase::loadResultArray
category=CodeExample
namespace=CodeExample
category=MethodExample
category=MethodExample
include=*
include=*

Latest revision as of 02:34, 25 March 2017

Joomla 11.1 JDatabase::loadResultArray

Description

Method to get an array of values from the field in each row of the result set from the database query.


public function loadResultArray ($offset=0)
Parameter Type Default Description
$offset 0
  • Returns mixed The return value or null if the query failed.
  • Defined on line 774 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples