Tutorial 2

Net.data built-in functions that automatically generate HTML.

There are a number of built-in functions which can eliminate the need to manually build HTML elements because they generate the required HTML automatically. The first 5 listed below are probably the most useful. The TABLE functions can be very useful for quickly displaying a database table on a prototype page where customized HTML rendering is not important. The same may apply to the DUMP functions if you wish to use them.

These functions generate basic HTML which may suffice in some situations.
For more customized HTML you should code your own Net.data functions to generate the desired formatting or perhaps use CSS stylesheets.

1. SELECT Builds an HTML select element from a database file
2. CHECKBOX Builds an HTML checkbox group from a database file
3. RADIO Builds an HTML radio button group from a database file
4. DLIST Builds an HTML definition list from a database file
5. LIST Builds an HTML ordered list from a database file
6. HTML_TABLE Builds an HTML table from a database file
7. TABLE Builds a formatted HTML table from a database file
8. DUMPH Dumps a database file as plain text
9. DUMPV Dumps a row from a database file as plain text

Back to Tutorials Menu