1
Hi, i wanted to know if there is a way to take a list of the fields on any table using the XOOPS class.
I know i can do
function GetFieldList($DB, $Table) {
$fldlist = mysql_list_fields($DB, $Table);
$columns = mysql_num_fields($fldlist);
for ($i = 0; $i < $columns; $i++) {
$Listing[] = mysql_field_name($fldlist, $i);
}
Return ($Listing);
}
Is anyone know another way to this using the XOOPS class?
Thanks!