[ListFields DatabaseName]Database Tags[/ListFields]

Lists all the fields in the specified database.

To display a list of all the fields in a particular database, put a [ListFields] context into a template. You may put a [ListFields] context inside the [ListDatabases] context to automatically list all the fields in all the databases.

Example (normally you would put the following text into a .tpl file on your server and use a web browser to link to it):

[ListDatabases]
Fields in database [name]:<br>
[ListFields path=[name]]
Fieldname: [FieldName]<br>
[/ListFields]
<hr>
[/ListDatabases]

Try It!

The following tags are available inside a [ListFields] context:
Tag Description

 [FieldName]

 the name of the field

[Index]

A number from 1 to the number of fields, indicating this field's index in the list