Actions

JDatabase/getTableFields

From Joomla! Documentation

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 
   )
 )