Limit Records in Dreamweaver with Paging Controls


show more Limiting records with paging controls provides you with in-depth training on Business. Taught by David Gassner as part of the Dreamweaver with PHP and MySQL show less
please wait ...

Limiting records with paging controls

The PHP code for paging through a recordset that is displaying a small set of records and then giving the user links to go page by page is a little bit complex, but Dreamweaver will help you generate that code very easily. For this demonstration, I'll use a file named tours2.php, which is in the root folder of the current site. This page already has a repeating region that displays the tour packages from the database.

I'll Preview the page in an external browser, copying the file to the server first. In this version of the page, all nine packages are displayed, which means that the user has to scroll quite a bit to see everything. I'm going to add codes so that there only three rows are displayed at a time, and then links are added that the user can use to move through the content. I'll close the browser and return to Dreamweaver. First, I am going to edit the repeating region, so it only displays three rows at a time.

I'll go to the Server Behaviors panel. Here is th...

Limiting records with paging controls
Video duration: 4m 5s 4h 55m Intermediate Updated Jun 12, 2012

Viewers:

Limiting records with paging controls provides you with in-depth training on Business. Taught by David Gassner as part of the Dreamweaver with PHP and MySQL

Subjects:
Business Developer Web
Software:
Dreamweaver
Author:
please wait ...