There is more than one way to display data in a Web page. This is especially true when using PHP.
With very little effort, you can use a combination of Design Time Controls to retrieve and display data.
You can also use DTCs to retrieve the data, and then use script to bind the data to standard HTML controls, such as text boxes and tables.
This module discusses how to use some of PHP's features to retrieve, display, and manage data on the Web, including how to:
- Bind the recordset object to controls to display data
- Use the command object to retrieve data
- Use the command object to add data-bound controls to a page
- Bind navigation and data-bound controls to navigate in the data
- Use parameterized queries to select data meeting specified criteria
- Handle errors to make the application stable
- Use script with the recordset object to access data
In the next lesson, you will use data-bound Design Time controls to access and display data.