<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title></title>
        <link>https://interactivetools.com/forum/forum-search.php?k=user%3AAsh</link>
        <description></description>
        <pubDate>Tue, 14 Apr 2026 21:23:40 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3AAsh&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>list items - side by side</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231019#post2231019</link>
          <description><![CDATA[<p>Hi mo3,</p>

<p>Many Thanks - That worked great!</p>
<p>:)</p>
]]></description>
          <pubDate>Wed, 19 Jun 2013 11:38:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231019#post2231019</guid>
        </item>
                <item>
          <title>list items - side by side</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231013#post2231013</link>
          <description><![CDATA[<p>Hi Greg,</p>
<p>Many thanks for the reply.</p>
<p>I have copied the code you gave below and that did get rid of the code display in browser, thanks. However the maxCols - does not seem to work - I am not sure what i need to do - basically want to show 3 items in row and then 4 item will move to next row etc. - (here is the code) - In regards to uploading the image - I have setup a field with wysiwyg and I insert the image into that field. Thanks</p>
<p><code>&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br />&lt;?php<br />  /* STEP 1: LOAD RECORDS - Copy this PHP code block near the TOP of your page */<br />  <br />  // load viewer library<br />  $libraryPath = 'blog/lib/viewer_functions.php';<br />  $dirsToCheck = array('/hsphere/local/home/ash/organise/','','../','../../','../../../');<br />  foreach ($dirsToCheck as $dir) { if (@include_once("$dir$libraryPath")) { break; }}<br />  if (!function_exists('getRecords')) { die("Couldn't load viewer library, check filepath in sourcecode."); }<br /><br />  // load records from 'baby_curriculum'<br />  list($baby_curriculumRecords, $baby_curriculumMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'baby_curriculum',<br />    'loadUploads' =&gt; true,<br />    'allowSearch' =&gt; false,<br />    <br />  ));<br />   $count=0;<br />  $maxCols=3;<br /><br />?&gt;&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" rel="nofollow">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>"&gt;<br />&lt;html xmlns="<a href="http://www.w3.org/1999/xhtml" rel="nofollow">http://www.w3.org/1999/xhtml</a>"&gt;<br />&lt;head&gt;<br />  &lt;title&gt;&lt;/title&gt;<br />  &lt;meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /&gt;<br />  &lt;style type="text/css"&gt;<br />    body          { font-family: arial; }<br />    .instructions { border: 3px solid #000; background-color: #EEE; padding: 10px; text-align: left; margin: 25px}<br />  &lt;/style&gt;<br />&lt;/head&gt;<br />&lt;body&gt;<br /><br />  &lt;!-- INSTRUCTIONS --&gt;&lt;!-- /INSTRUCTIONS --&gt;<br /><br />  &lt;!-- STEP2: Display Records (Paste this where you want your records to be listed) --&gt;<br />&lt;h1&gt;&amp;nbsp;&lt;/h1&gt;<br />   &lt;!-- /STEP2: Display Records --&gt;<br /><br />   <br />&lt;table&gt;<br />&lt;tr&gt;<br /><br /><br />&lt;/tr&gt;<br />&lt;/table&gt;<br />&lt;p&gt;&amp;nbsp;&lt;/p&gt;<br />&lt;p&gt;&amp;nbsp;&lt;/p&gt;<br />&lt;table width="100%" border="0" cellspacing="0" cellpadding="0"&gt;<br />  &lt;tr&gt;<br />    &lt;td&gt;<br />      &lt;?php foreach ($baby_curriculumRecords as $record): ?&gt;<br />      &lt;div style="float:left; clear:none; margin-left:5px; margin-right:5px;"&gt; &lt;?php echo $record['image']; ?&gt;&lt;?php echo htmlencode($record['title']) ?&gt;&lt;/div&gt;<br />        <br />        &lt;?php if (++$count % $maxCols == 0): echo '&lt;/div&gt;&lt;div style="float:left; clear:none; margin-left:5px; margin-right:5px;"&gt;'; endif; ?&gt;<br />      &lt;?php endforeach ?&gt;<br />    &lt;/td&gt;<br />  &lt;/tr&gt;<br />&lt;/table&gt;<br />&lt;p&gt;<br />  &lt;?php if (!$baby_curriculumRecords): ?&gt;<br />No records were found!&lt;br/&gt;<br />&lt;br/&gt;<br />&lt;?php endif ?&gt;<br />&lt;/p&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br /></code></p>
]]></description>
          <pubDate>Wed, 19 Jun 2013 10:25:47 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231013#post2231013</guid>
        </item>
                <item>
          <title>list items - side by side</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231008#post2231008</link>
          <description><![CDATA[<p>oops forgot to show the code.</p>
<p>&lt;table width="100%" border="0" cellspacing="0" cellpadding="0"&gt;<br />  &lt;tr&gt;<br />    &lt;td&gt;$count=0;<br /><br />$maxCols=3;<br /><br />&lt;?php foreach ($baby_curriculumRecords as $record): ?&gt;<br /><br />&lt;div style="float:left; clear:none; margin-left:5px; margin-right:5px;"&gt; content&lt;/div&gt;<br />&lt;?php echo $record['image']; ?&gt;<br />if (++$count % $maxCols == 0): echo '&lt;/div&gt;&lt;div style="float:left; clear:none; margin-left:5px; margin-right:5px;"&gt;'; endif;<br /><br />&lt;?php endforeach ?&gt;<br />&amp;nbsp;&lt;/td&gt;<br />  &lt;/tr&gt;<br />&lt;/table&gt;</p>

<p>Also what would I need to do with this code to show thumbnails oldest first.</p>

<p>Thanks</p>]]></description>
          <pubDate>Wed, 19 Jun 2013 09:02:43 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231008#post2231008</guid>
        </item>
                <item>
          <title>list items - side by side</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231007#post2231007</link>
          <description><![CDATA[<p>Hi moh3,</p>
<p>Many thanks for the help. It works but I have a couple of problems, please see image attached.</p>
<p>Also if I want to add title at the bottom of each thumbnail where would I put it.</p>

<p>&lt;?php echo htmlencode($record['title']) ?&gt;</p>

<p>( I need the formatting correct otherwise it displays it incorrectly.)</p>
<p>Sorry for the newbie questions but I am new and trying to learn this,</p>
<p>Thanks</p>]]></description>
          <pubDate>Wed, 19 Jun 2013 09:01:32 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231007#post2231007</guid>
        </item>
                <item>
          <title>list items - side by side</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231005#post2231005</link>
          <description><![CDATA[<p>Hi,</p>
<p>After digging through the forum I was able to find this code. But I am still unable to get the formatting I need. I have attached image of what I am trying to do - thankyou.</p>

<p><em>&lt;table&gt;</em><br /><em>&lt;tr&gt;</em><br /><br /><em>&lt;?php foreach ($baby_curriculumRecords as $record): ?&gt;</em><br /><em>&lt;td&gt; &lt;?php echo $record['image']; ?&gt;&lt;/td&gt;</em><br /><br /><em>&lt;?php $maxCols=3; if (++$count % $maxCols == 0): ?&gt;</em><br /><em>&lt;/tr&gt;&lt;tr&gt;</em><br /><em>&lt;?php endif ?&gt;</em><br /><br /><em>&lt;?php endforeach ?&gt;</em><br /><br /><em>&lt;/tr&gt;</em><br />&lt;/table&gt;</p>

]]></description>
          <pubDate>Wed, 19 Jun 2013 08:23:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231005#post2231005</guid>
        </item>
                <item>
          <title>list items - side by side</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2231002#post2231002</link>
          <description><![CDATA[<p>Hi,</p>
<p>I want to be able to list items to be listed in same row. So for example at the moment when I create a new record it lists it underneath but I want to show 4-5 items next to each other then when i enter next item it shows underneath the first row that was created. I need to be able to do this using tables in html - if you can help it would be much appreciated.</p>

<p>Thanks</p>]]></description>
          <pubDate>Wed, 19 Jun 2013 05:53:56 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2231002#post2231002</guid>
        </item>
              </channel>
    </rss>
  