API17

JDatabaseMySQL::fetchAssoc: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 4: Line 4:
Method to fetch a row from the result set cursor as an associative array.  
Method to fetch a row from the result set cursor as an associative array.  


{{subst:Description:JDatabaseMySQL::fetchAssoc}}
 


<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:JDatabaseMySQL::fetchAssoc|Other versions of JDatabaseMySQL::fetchAssoc]]
* [[API17:JDatabaseMySQL::fetchAssoc|Other versions of JDatabaseMySQL::fetchAssoc]]
{{subst:SeeAlso:JDatabaseMySQL::fetchAssoc}}
 


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

Latest revision as of 02:37, 25 March 2017

Joomla 11.1 JDatabaseMySQL::fetchAssoc

Description

Method to fetch a row from the result set cursor as an associative array.


protected function fetchAssoc ($cursor=null)
Parameter Type Default Description
$cursor mixed null The optional result set cursor from which to fetch the row.
  • Returns mixed Either the next row from the result set or false if there are no more rows.
  • Defined on line 603 of libraries/joomla/database/database/mysql.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples