Actions

API17

Difference between revisions of "JDatabase::loadNextRow"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
=={{JVer|11.1}} JDatabase::loadNextRow==
 
=={{JVer|11.1}} JDatabase::loadNextRow==
 
===Description===
 
===Description===
Load the next row returned by the query.  
+
Method to get the next row in the result set from the database query as an array.  
  
 
{{Description:JDatabase::loadNextRow}}
 
{{Description:JDatabase::loadNextRow}}
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JDatabase::loadNextRow|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JDatabase::loadNextRow|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1.0 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JDatabase->loadNextRow ()
+
public function loadNextRow ()
 
</source>
 
</source>
===Returns===
+
{| class="wikitable"
mixed The result of the query as an array, false if there are no more rows, or null on an error.
+
|-
===Defined in===
+
!Parameter
libraries/joomla/database/database.php
+
!Type
===Referenced by===
+
!Default
 +
!Description
 +
|-
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|}
 +
* '''Returns''' mixed The result of the query as an array, false if there are no more rows.
 +
* '''Defined''' on line 640 of libraries/joomla/database/database.php
 +
* '''Since''' {{JVer|11.1 }}
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JDatabase::loadNextRow source code''' on [[jplatform:database/database.php#cl-632|BitBucket]]
 +
* {{JVer|11.1}} Class [[JDatabase/11.1|JDatabase]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Database/11.1|Database]]
 +
* [[JDatabase::loadNextRow|Other versions of JDatabase::loadNextRow]]
 +
{{SeeAlso:JDatabase::loadNextRow}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JDatabase::loadNextRow|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JDatabase::loadNextRow|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JDatabase/11.1|JDatabase]]
+
===User contributed notes===
* [[JDatabase::loadNextRow|Other versions of this method]]
+
{{SeeAlso:JDatabase::loadNextRow}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 34: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JDatabase]][[Category:JDatabase::loadNextRow]]</noinclude>
 
<noinclude>[[Category:JDatabase]][[Category:JDatabase::loadNextRow]]</noinclude>

Revision as of 20:26, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JDatabase::loadNextRow

Description

Method to get the next row in the result set from the database query as an array.

Description:JDatabase::loadNextRow [Edit Descripton]

public function loadNextRow ()
Parameter Type Default Description
  • Returns mixed The result of the query as an array, false if there are no more rows.
  • Defined on line 640 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also

SeeAlso:JDatabase::loadNextRow [Edit See Also]

User contributed notes

<CodeExamplesForm />