4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Formatting Repeat Regions
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
badger
Junior WebHelper
Junior WebHelper


Joined: 08 Oct 2004
Posts: 10

PostPosted: Sun Jan 09, 2005 9:03 pm (19 years, 3 months ago) Reply with QuoteBack to Top

Hello all,

Using Dreamweaver MX, I have created a dynamic table but I need to change the format of it slightly...

Code:
<?php do { ?>
<table width="206" border="1" cellpadding="0" cellspacing="0" bordercolor="#111111" bordercolorlight="#111111" style="border-collapse: collapse">
  <tr>
    <td colspan="2" width="141">
      <div align="center">
        <div id="odQtnHeader" style="width: 243; height: 19"><?php echo $row_rs_matrix1['model']; ?> - <?php echo $row_rs_matrix1['network']; ?></div>
    </div></td>
  </tr>
  <tr>
    <td colspan="2" width="243">
      <div align="center"><img src="<?php echo $row_rs_matrix1['image']; ?>"></div></td>
  <tr>
    <td width="148" align="center">
      <div align="center">
        <div id="odQtnHeader" style="width: 122; height: 19"> <a href="<?php echo $row_rs_matrix1['Specs']; ?>">Spec</a></div>
    </div></td>
    <td width="154" align="center">
      <div align="center">
        <div id="odQtnHeader" style="width: 122; height: 19"> <a href="<?php echo $row_rs_matrix1['Support']; ?>">Support</a></div>
    </div></td>
  </tr>
</table>
<?php } while ($row_rs_matrix1 = mysql_fetch_assoc($rs_matrix1)); ?>


The above code pulls the correct information from the database but all in one column. Im trying to change it to three columns repeated over and over.

Can anyone help?
OfflineView User's ProfileFind all posts by badgerSend Personal Message
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.129968 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme