Populating a list control with dynamic data Dreamweaver and PHP


show more Populating a list control with dynamic data 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 ...

Populating a list control with dynamic data

In data entry forms that collect personal information, it's very common to present a list of available states or other geographical regions. In a static HTML page, these sorts of lists have options that are filled in manually. For example, in this file, join3.php, there's a pulldown list, or a select control. The options in this control are listed manually. If you select the control in Dreamweaver and then go down to the Properties panel, then click the List Values button, you'll see the list of items that have been manually added to the list.

In many situations though, it's a good thing to populate these sorts of lists from a database on the server. I'll show you how to fill this sort of controlling with dynamic data from a database table. First, you'll need to make sure that your database connection is set up correctly. Go to the Databases panel, to the explorecalifornia database connection, and double-click it to open the MySQL connection dialog. The files that a...

Populating a list control with dynamic data
Video duration: 4m 50s 4h 55m Intermediate Updated Jun 12, 2012

Viewers:

Populating a list control with dynamic data 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 ...