API17

API17:JDatabaseMySQL::fetchAssoc

From Joomla! Documentation

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