6 - Interacting with a Database

Explains how to set a default connection with a database. Explains the configuration file of a template (*.tpc) and the <Recordset> element. Explains the <Repeat> elements and how to use them inside a template. Explains the '.db' file of a webox, the <Recordset> and <dbCommand> elements inside it, and how to use the functions WebApp::execDBCmd(), WebApp::openRS() and WebApp::execQuery() inside the PHP code of the webox. Explains how to debug the recordsets of the page and the execution times of the queries (and other processes).

Test Browse