API17

JDatabase::loadResultArray: Difference between revisions

From Joomla! Documentation

m See also: moving preparation
m clean up
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.  


{{Description:JDatabase::loadResultArray}}
{{subst:Description:JDatabase::loadResultArray}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JDatabase::loadResultArray|Edit Descripton]]<nowiki>]</nowiki>
</span>
<source lang="php">
<source lang="php">
public function loadResultArray ($offset=0)
public function loadResultArray ($offset=0)
Line 32: 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]]
{{SeeAlso:JDatabase::loadResultArray}}
{{subst:SeeAlso:JDatabase::loadResultArray}}
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabase::loadResultArray|Edit See Also]]<nowiki>]</nowiki>
</span>
===User contributed notes===
===User contributed notes===
<CodeExamplesForm />
<CodeExamplesForm />

Revision as of 15:00, 24 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.

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

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

{{subst:SeeAlso:JDatabase::loadResultArray}}

User contributed notes

<CodeExamplesForm />