<?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%3Aonlinemba</link>
        <description></description>
        <pubDate>Mon, 06 Apr 2026 10:11:04 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Aonlinemba&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [chris] Displaying an Image from Another Table</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2201401#post2201401</link>
          <description><![CDATA[That worked.  Thanks.<br />]]></description>
          <pubDate>Tue, 26 Jan 2010 16:40:35 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2201401#post2201401</guid>
        </item>
                <item>
          <title>Displaying an Image from Another Table</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2201347#post2201347</link>
          <description><![CDATA[Hi,<br /><br />Below is the code I have used for a detail page about degree 'programs'.  It works well and allows me to use fields from the 'schools' table.  <br /><br /><code>$urlNum = getNumberFromEndOfUrl();<br />list($programsRecords, $programsMetaData) = getRecords(array(<br />'tableName'   =&gt; 'programs',<br />'limit'       =&gt; '1',<br />'leftJoin'    =&gt; array('schools' =&gt; 'schoolNum'),<br />'where'       =&gt; &quot;programs.num = $urlNum&quot;<br />));<br />$programsRecord = @$programsRecords[0]; // get first record<br />// show error message if no matching record is found<br />if (!$programsRecord) {<br />header(&quot;HTTP/1.0 404 Not Found&quot;);<br />print &quot;Record not found!&quot;;<br />exit;<br />}<br />?&gt;</code><br /><br />When I want to show fields from the schools table I use code like this:  <br /><br /><code>&lt;? echo $programsRecord['schools.school_name'] ?&gt;</code><br /><br />I have a problem when I try to get an uploaded image from the schools table to show up.  However, if I upload the image to the programs table I can show the image using this code: <br /><br /><code>&lt;? foreach ($programsRecord['school_picture'] as $upload): ?&gt; <br />&lt;img src=&quot;&lt;? echo $upload['thumbUrlPath'] ?&gt;&quot; /&gt;<br />&lt;? endforeach ?&gt;</code><br /><br />Why can't I get the image from the schools table using the same code as above (putting the 'schools.' in front of the field?  In other words, the following code returns and error:<br /><br /><code>&lt;? foreach ($programsRecord['schools.school_picture'] as $upload): ?&gt; <br />&lt;img src=&quot;&lt;? echo $upload['thumbUrlPath'] ?&gt;&quot; /&gt;<br />&lt;? endforeach ?&gt;</code><br /><br />Please let me know if there is a work around (or if I am doing something wrong).  I would rather upload the school picture once in the schools table instead of potentially multiple times (sometimes 3 or 4 times) in the programs table.<br /><br />Thanks.<br />]]></description>
          <pubDate>Mon, 25 Jan 2010 10:16:28 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2201347#post2201347</guid>
        </item>
                <item>
          <title>Re: [chris] New to CMS Builder - A Few Questions</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200956#post2200956</link>
          <description><![CDATA[Chris,<br /><br />The code you provided worked perfectly.  That should do me for now.<br /><br />Thanks for your help. [:)]<br />]]></description>
          <pubDate>Tue, 05 Jan 2010 19:29:51 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200956#post2200956</guid>
        </item>
                <item>
          <title>Re: [onlinemba] New to CMS Builder - A Few Questions</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200938#post2200938</link>
          <description><![CDATA[Please...not everyone all at once. [:(]<br /><br />OK, I figured out #2 by reading some other posts in the forum.  I also figured out the second part of #3.  #1 is not longer relevant because I have a work-around.<br /><br />So all I need to know is this part in #3...<br /><br />&quot;I want to be able to have the schools '_link' value show up when I view the programs List Page.&quot;<br /><br />Any help would be welcomed.<br />]]></description>
          <pubDate>Tue, 05 Jan 2010 15:07:00 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200938#post2200938</guid>
        </item>
                <item>
          <title>New to CMS Builder - A Few Questions</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2200925#post2200925</link>
          <description><![CDATA[Hi,<br /><br />I had been using Listings Manager (LM) for an old website so I was very used to that program.  However, I am now trying to do a similar website using CMS Builder.  I really like CMS Builder and am starting to get the hang of it.  It really is a great program.  I have a few questions though...<br /><br />1. This one should be an easy answer, so I will do it first.  In the Section Editors area, I click 'modify' on the table I want to edit.  Under the Viewer URLs tab there is a field called Filename Fields.  I would like to use two fields there so my file name becomes a combination of the two fields.  Is this possible?  It looks like it should be possible.  However, my results show that it only takes the first field.<br /><br />2.  I have a table for schools and a table for programs.  Schools can have one or many programs.  So I have a list field in the programs table that links to the schools table.  I have done this by school name, not by record number.  My experience with databases tells me to link by a unique value...like the schools record number.  Should I be worried about this?  It is much easier to link by the school name because it shows up in my programs table without using extra code.  Just wondering.<br /><br />3. Same tables as in question #2.  I want to be able to have the schools '_link' value show up when I view the programs List Page.  I think it needs some extra code for this.  I also want to use another field from schools table and have it show up when I view the programs List Page.  This is probably the same solution, but I want to do both.<br /><br />Any help would be appreciated.<br />]]></description>
          <pubDate>Mon, 04 Jan 2010 18:55:14 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2200925#post2200925</guid>
        </item>
              </channel>
    </rss>
  