Actions

JDatabase/loadAssoc

From Joomla! Documentation

Revision as of 08:10, 3 August 2010 by Nonos (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/* Generate an associative array of the first row */

$data=$db->loadAssoc();

print_r($data);


Results :

Array([field_name]=>value)