Skip to main content
Known Participant
October 20, 2006
Question

Dynamic Table

  • October 20, 2006
  • 1 reply
  • 205 views
I am using DW8, PHP and MySQL.

When I create a dynamic table everything is outputted in a list format:

Firstname Lastname Age
John Smith 12
Jane Doe 20

I want it to out put in a block format:

Firstname: John
Lastname: Doe
Age: 12

Firstname: Jane
Lastname: Doe
Age: 20

Is there a way to configure DW to do this? Thanks!
This topic has been closed for replies.

1 reply

Inspiring
October 20, 2006
Eiolon wrote:
> Is there a way to configure DW to do this? Thanks!

Yes. Create a table, div or any other structure for the layout that you
want for a single record, select it, and apply the repeat region server
behavior. Most examples just show repeat region applied to a table row,
but they can be applied to any HTML structure.

--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/