API17

API17:JDatabase::fetchAssoc

From Joomla! Documentation

Joomla 11.1 JDatabase::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 1321 of libraries/joomla/database/database.php
  • Since Joomla 11.1

See also


User contributed notes

Code Examples