Skip to main content
May 24, 2012
Answered

Dynamic results - 2 column table?

  • May 24, 2012
  • 1 reply
  • 956 views

I have a dynamic table:

<table width="500" border="1" cellpadding="10" cellspacing="10">

  <?php do { ?>

    <tr>

      <td><p><?php echo $row_babiesrs['name']; ?></p></td>

    </tr>

    <?php } while ($row_babiesrs = mysql_fetch_assoc($babiesrs)); ?>

</table>

The results display down the page in a one column table i.e.

1

2

3

4

5

6

Can anyone tell me if there is a way using dreamweaver to get the results to display as a 2 column table i.e.

1   2

3   4

5   6

TIA

This topic has been closed for replies.
Correct answer bregent

No, nothing in DW to handle this. It's easy to fix by adding another loop. Or, look into using the horizontal looper extension.

1 reply

bregentCorrect answer
Participating Frequently
May 24, 2012

No, nothing in DW to handle this. It's easy to fix by adding another loop. Or, look into using the horizontal looper extension.

May 29, 2012

Thank you.   Horiontal looper extension worked perfectly.

I was surprised, since it appears it was designed for MX. It worked in CS5!.

Participating Frequently
May 29, 2012

You're welcome.