Actions

JDatabase/getTableFields

From Joomla! Documentation

Revision as of 18:24, 14 January 2011 by Delerium (Talk | contribs)

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

Syntax:

 $TableFields = $db->getTableFields("nameOfTable");

Returns:

 Array 
 (
   [nameOfTable] => Array 
   (
     [field_1] => type_of_field_1 
     [field_2] => type_of_field_2 ... 
     [field_n] => type_of_field_n 
   )
 )