API16:JDatabase/loadAssocList
From Joomla! Documentation
Description
Load a associactive list of database rows
<! removed transcluded page call, red link never existed >
Syntax
loadAssocList($key=null, $column=null)
| Parameter Name | Default Value | Description |
|---|---|---|
| $key | null | The field name of a primary key |
| $column | null | An optional column name. Instead of the whole row, only this column value will be in the return array. |
Returns
array If key is empty as sequential list of returned records.
Defined in
libraries/joomla/database/database.php
Importing
jimport( 'joomla.database.database' );
Source Body
<! removed transcluded page call, red link never existed >
Examples
Code Examples