Skip to main content
Inspiring
February 22, 2007
Question

display multiple records with CSS

  • February 22, 2007
  • 4 replies
  • 492 views
PHP MySQL
I have a MySQL table with several columns and multiple records... it is easy
to display these records in a <table> using the repeat record server
behavior applied to the <tr> that displays the records.

I would like to do this with CSS and eleminate <table>'s
My question is can this be done displaying the records in a <div> using the
repeat record server behavior?
Or is this just one of those things that a <table> is required?

Jeff


This topic has been closed for replies.

4 replies

Inspiring
February 22, 2007
LOL............. No I hadn't tried it yet. Was just in the planning stage
for a restaurant site and I thought, why bang my head against the wall if it
was going to just give me a headache. Now that I know that it's not an issue
I'm going to dive in.

Jeff


"envision3d" <webforumsuser@macromedia.com> wrote in message
news:erip5q$jvj$1@forums.macromedia.com...
> Did you try it yet? You should have no problem putting a Repeat region
> around a DIV tag.


Inspiring
February 22, 2007
Did you try it yet? You should have no problem putting a Repeat region around a DIV tag.
Inspiring
February 22, 2007
Sure you can. I do it frequently....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"Jeff" <jeffs@NoSpamLamSam.com> wrote in message
news:erindt$i70$1@forums.macromedia.com...
> PHP MySQL
> I have a MySQL table with several columns and multiple records... it is
> easy to display these records in a <table> using the repeat record server
> behavior applied to the <tr> that displays the records.
>
> I would like to do this with CSS and eleminate <table>'s
> My question is can this be done displaying the records in a <div> using
> the repeat record server behavior?
> Or is this just one of those things that a <table> is required?
>
> Jeff
>


Inspiring
February 22, 2007
Displaying rows of data is actually the reason tables were originally
invented. :)
You need a table with the number of columns for your data and two rows. The
first row is for the column headers. The second row is for the PHP
placeholder that will be replaced with data. Apply the repeat region to
this second row either for all rows or the number of rows you desire to
display on one page .. in which case you would also use recordset paging.
(previous, next)


--
Nancy Gill
Adobe Community Expert
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
Technical Editor: DMX 2004: The Complete Reference, DMX 2004: A Beginner''s
Guide, Mastering Macromedia Contribute
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

"Jeff" <jeffs@NoSpamLamSam.com> wrote in message
news:erindt$i70$1@forums.macromedia.com...
> PHP MySQL
> I have a MySQL table with several columns and multiple records... it is
> easy to display these records in a <table> using the repeat record server
> behavior applied to the <tr> that displays the records.
>
> I would like to do this with CSS and eleminate <table>'s
> My question is can this be done displaying the records in a <div> using
> the repeat record server behavior?
> Or is this just one of those things that a <table> is required?
>
> Jeff
>