<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Output to table display</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Output-to-table-display-71418</link>
        <description></description>
        <pubDate>Mon, 09 Nov 2026 17:33:25 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Output-to-table-display-71418" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [rconring] Output to table display</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2205102#post2205102</link>
          <description><![CDATA[Wow that's great, I shall place it in my snippets file of bits of helpful code, I am hoping to get on with this today so will let you know if I have any issues, thanks again this is great and very helpful.<br />]]></description>
          <pubDate>Thu, 24 Jun 2010 03:06:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2205102#post2205102</guid>
        </item>
                <item>
          <title>Re: [rconring] Output to table display</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2205078#post2205078</link>
          <description><![CDATA[Hi willydoit,<br /><br />Ron's example seems to be exactly what you're looking for. Did you get everything sorted out?<br />]]></description>
          <pubDate>Wed, 23 Jun 2010 15:49:59 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2205078#post2205078</guid>
        </item>
                <item>
          <title>Re: [willydoit] Output to table display</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2205045#post2205045</link>
          <description><![CDATA[I forgot to mention ... If you are new to CMSB, you may want to subscribe to Jerry Kornbluth's CMS Cookbook.  Jerry has done an excellent job of accumulating a publication of tips, tricks, and examples of the most frequently encountered problems.  I find it very useful and would recommend it to anyone new to CMSB.<br /><br />http://www.thecmsbcookbook.com<br />]]></description>
          <pubDate>Wed, 23 Jun 2010 09:13:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2205045#post2205045</guid>
        </item>
                <item>
          <title>Re: [willydoit] Output to table display</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2205044#post2205044</link>
          <description><![CDATA[Here is a basic HTML example of tabular data output.  The CSS format is entirely up to your needs, but here is the basic mechanics for outputting records from the database to an HTML table.  Hope this helps.<br /><br />&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;mas-table&quot; style=&quot;border-style: solid; width: 100%&quot;&gt;<br />  &lt;!-- Output the header row --&gt;<br />  &lt;tr class=&quot;mas-header&quot;&gt;<br />    &lt;td style=&quot;width: 50px; text-align: center;&quot;&gt;Record&lt;/td&gt;<br />    &lt;td style=&quot;width: 280px&quot;&gt;Name&lt;/td&gt;<br />    &lt;td style=&quot;width: 200px&quot;&gt;Company&lt;/td&gt;<br />    &lt;td style=&quot;width: 194px&quot;&gt;Address&lt;/td&gt;<br />    &lt;td style=&quot;width: 104px&quot;&gt;City&lt;/td&gt;<br />    &lt;td style=&quot;width: 26px&quot;&gt;State&lt;/td&gt;<br />    &lt;td&gt;Zip Code&lt;/td&gt;<br />  &lt;/tr&gt;<br />  &lt;!-- Loop through your records (per-page set in viewer code) --&gt;<br />  &lt;?php foreach ($masterRecords as $record): ?&gt;<br />  &lt;?php $bgColor = (@$bgColor == '#F0F0F0') ? '#FFFFFF' : '#F0F0F0'; ?&gt;<br />  &lt;!-- Output the data row and alternate the row colors --&gt;<br />  &lt;tr cllass=&quot;mas-data&quot; bgcolor=&quot;&lt;?php echo $bgColor ?&gt;&quot;&gt;<br />    &lt;!-- Output cells across the row (6 in your case) --&gt; <br />    &lt;td&gt;&amp;nbsp;&lt;a href=&quot;&lt;?php echo $record['_link'] ?&gt;&quot;&gt;&lt;?php echo $record['rec_id'] ?&gt;&lt;/a&gt;&lt;/td&gt;<br />    &lt;td&gt;&lt;?php echo $record['first_name'] ?&gt; &lt;?php echo $record['last_name'] ?&gt;&lt;/td&gt;<br />    &lt;td&gt;&lt;?php echo $record['company'] ?&gt;&lt;/td&gt;<br />    &lt;td&gt;&lt;?php echo $record['address'] ?&gt;&lt;/td&gt;<br />    &lt;td&gt;&lt;?php echo $record['city'] ?&gt;&lt;/td&gt;<br />    &lt;td&gt;&lt;?php echo $record['state'] ?&gt;&lt;/td&gt;<br />    &lt;td&gt;&lt;?php echo $record['zip_code'] ?&gt;&lt;/td&gt;<br />  &lt;/tr&gt;<br />  &lt;?php endforeach ?&gt;<br />&lt;/table&gt;<br />]]></description>
          <pubDate>Wed, 23 Jun 2010 08:58:45 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2205044#post2205044</guid>
        </item>
                <item>
          <title>Output to table display</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2205042#post2205042</link>
          <description><![CDATA[Hi all, <br /><br />We are currently working on a project for a client where he wants to keep a running result of football betting results which we want to be able to output in the format below, the table requires 6 columns  but due to my limited css knowledge and cmsb I am unsure how we should go about it although I am pretty sure it is likely to be fairly straightforward once we have a handle on the basics. Each row is a complete record consisting of 6 elements. I am assuming that we can do the sort on a record number to keep everything in order without actually displaying the record number in the table, we simply need for the css to create the table of 6 columns generating a new row on every 7th item (I assume!!) <br /><br />Any help or advice would be appreciated. <br /><br />  <br /><br />Thanks in advance <br /><br />           <span style="color: #000000"><font size="2">September 11</font>[/#000000] <span style="color: #000000"><font size="2">Accrington</font>[/#000000] <span style="color: #000000"><font size="2">2.10</font>[/#000000] <span style="color: #000000"><font size="2">W</font>[/#000000] <span style="color: #000000"><font size="2">110</font>[/#000000] <span style="color: #000000"><font size="2">5,110</font>[/#000000]  <span style="color: #000000"><font size="2">September 12</font>[/#000000] <span style="color: #000000"><font size="2">Rochdale</font>[/#000000] <span style="color: #000000"><font size="2">2.00</font>[/#000000] <span style="color: #000000"><font size="2">W</font>[/#000000] <span style="color: #000000"><font size="2">100</font>[/#000000] <span style="color: #000000"><font size="2">5,210</font>[/#000000]  <span style="color: #000000"><font size="2"> </font>[/#000000] <span style="color: #000000"><font size="2">Yeovil</font>[/#000000] <span style="color: #000000"><font size="2">2.20</font>[/#000000] <span style="color: #000000"><font size="2">D</font>[/#000000] <span style="color: #000000"><font size="2">-100</font>[/#000000] <span style="color: #000000"><font size="2">5,110</font>[/#000000]  <span style="color: #000000"><font size="2"> </font>[/#000000] <span style="color: #000000"><font size="2">Dagenham</font>[/#000000] <span style="color: #000000"><font size="2">2.10</font>[/#000000] <span style="color: #000000"><font size="2">W</font>[/#000000] <span style="color: #000000"><font size="2">110</font>[/#000000] <span style="color: #000000"><font size="2">5,220</font>[/#000000]  <span style="color: #000000"><font size="2"> </font>[/#000000] <span style="color: #000000"><font size="2">Hartlepool</font>[/#000000] <span style="color: #000000"><font size="2">2.00</font>[/#000000] <span style="color: #000000"><font size="2">D</font>[/#000000] <span style="color: #000000"><font size="2">-100</font>[/#000000] <span style="color: #000000"><font size="2">5,120</font>[/#000000]  <span style="color: #000000"><font size="2"> </font>[/#000000] <span style="color: #000000"><font size="2">Gillingham</font>[/#000000] <span style="color: #000000"><font size="2">2.40</font>[/#000000] <span style="color: #000000"><font size="2">W</font>[/#000000] <span style="color: #000000"><font size="2">140</font>[/#000000] <span style="color: #000000"><font size="2">5,260</font>[/#000000]  <span style="color: #000000"><font size="2"> </font>[/#000000] <span style="color: #000000"><font size="2">Bury</font>[/#000000] <span style="color: #000000"><font size="2">2.30</font>[/#000000] <span style="color: #000000"><font size="2">L</font>[/#000000] <span style="color: #000000"><font size="2">-100</font>[/#000000] <span style="color: #000000"><font size="2">5,160</font>[/#000000]<br />]]></description>
          <pubDate>Wed, 23 Jun 2010 05:33:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2205042#post2205042</guid>
        </item>
              </channel>
    </rss>
  