SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1181 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


672
Incorporating Dynamic Data Part IV
In this Technique, you begin to familiarize yourself with binding dynamic data to the page.
1. From the Techniques - Dynamic site (established in Chapter 18), expand the 19_Dynamic_Data
folder and open the dyn_data_start file for your server model.
2. From the Bindings panel, click Add (+) and select Recordset (Query) from the list.
3. When the Recordset dialog box opens, make sure that you??™re in Simple, not Advanced, mode; if
necessary, click Simple.
4. In the Name field, enter rsAgents.
5. From the Connection list, choose RelativeRealty.
6. From the Table list, choose Agents (agents in PHP).
7. Leave the Columns option set to All.
8. From the Sort list, choose agentLastName and Ascending.
9. Click OK to close the dialog box.
10. Now that the recordset has been created, you can begin to bind the data to the page. You??™ll find it
easier to work with the table if you enable Visual Aids ??? Table Borders and disable CSS Layout
Outlines from the Document toolbar.
11. Place your cursor in the second cell from the left, in the second row under the middle of the
phrase, Leading Agents.
Adding Dynamic Data
Formatting Dynamic Data
After a field has been incorporated into a page, it acts just like any other text within a tag.


Pages:
1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193