<?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%3Aciaranmac</link>
        <description></description>
        <pubDate>Sun, 19 Apr 2026 15:33:47 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Aciaranmac&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>WHERE Not in list</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245025#post2245025</link>
          <description><![CDATA[<p>Hi Djulia,</p>
<p>That worked for me. Thanks very much for replying.</p>
<p>Cheers,</p>
<p>Ciaran</p>]]></description>
          <pubDate>Wed, 23 Sep 2020 01:27:21 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245025#post2245025</guid>
        </item>
                <item>
          <title>WHERE Not in list</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245022#post2245022</link>
          <description><![CDATA[<p>I have ran into some issues with a where clause. I am doing some AND calls, but I now I want to do another call to exclude items that are in the list returned in <span>$ExcludeItems. I have tried this:<br />$ExcludeItems = 110, 98<br /></span></p>
<pre><span>AND num NOT IN ('</span><span>$ExcludeItems</span><span>')<br /><br />But it doesn't work for me. For some reason it is only excluding the first in the list. Can anyone shed some light? Below is the full call.<br /><br /></span></pre>
<pre><span>list</span><span>(</span><span>$productsRecords</span><span>, </span><span>$productsMetaData</span><span>) = getRecords(</span><span>array</span><span>(<br /></span><span>'tableName'   </span><span>=&gt; </span><span>'products'</span><span>,<br /></span><span>'where'       </span><span>=&gt; </span><span>"product_location = '</span><span>$CurrentLocation</span><span>' AND product_category like '%</span><span>$CurrentCID</span><span>%' AND num NOT IN ('</span><span>$ExcludeItems</span><span>')</span><span>"</span><span>,<br /></span><span>'orderBy' </span><span>=&gt; </span><span>"title ASC"</span><span>,<br /></span><span>'loadUploads' </span><span>=&gt; </span><span>true</span><span>,<br /></span><span>'allowSearch' </span><span>=&gt; </span><span>false</span><span>,<br /></span><span>))</span></pre>
<pre><span>Cheers,<br />Ciaran</span></pre>]]></description>
          <pubDate>Tue, 22 Sep 2020 01:44:47 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245022#post2245022</guid>
        </item>
                <item>
          <title>Passing a variable from URL in query</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2242308#post2242308</link>
          <description><![CDATA[<p>I have a multiple items and I want to list them out depending on the variable in the url.</p>
<p>Each item has a list of categories to chose which could be multiple ( Field name = video_category). I am passing this variable in the URL, so if the variable is 2, then I want every item with 2 selected for the field name 'video_category' to appear. </p>
<p>I can do it if I put the value in manually e.g. below:</p>
<p>// load records from 'videos'<br /> list($videosRecords, $videosMetaData) = getRecords(array(<br /> 'tableName' =&gt; 'videos',<br /> 'where' =&gt; ' video_category LIKE "%\t2\t%" ', // contains 4<br /> 'loadUploads' =&gt; true,<br /> 'allowSearch' =&gt; false,<br /> ));</p>

<p>but I don't know what to do to pull the variable and put it in the query. </p>]]></description>
          <pubDate>Thu, 19 Jul 2018 08:40:17 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2242308#post2242308</guid>
        </item>
                <item>
          <title>Decision Tree</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2240149#post2240149</link>
          <description><![CDATA[<p>Hi There,</p>
<p>I am wondering is it possible to create several different decision trees using the builder? I am looking for a solution that will allow me to add as many decision trees as possible.</p>
<p>I will have a home page which will show all the possible initial decisions trees that has been created. But once the user selects the button they go into the questions assigned to the decision tree.</p>


<p>Example:<br /><br /> This chooses the best pet for you. Do you want a male or female pet?<br /><br /> (select = Male, Female)<br /><br /> (user chooses female)<br /><br /> Female pets are chosen on hair color. What color is your hair?<br /><br /> (select = Red, Blonde, Brunette, White, Other)<br /><br /> (user chooses White)<br /><br /> White pets come in 4 sizes. Which size would you prefer?<br /><br /> (select = Tiny, Small, Medium, Large)<br /><br /> ...and so on based on their choices...<br /><br /> ... If they had chosen male for their first answer, then instead of the hair color question the following would appear:<br /><br /> Male pets are based on height. How tall are you?<br /><br /> (select = Under 4ft, 4ft-5ft, 5ft-6ft, Over 6ft)<br /><br /> (User chooses over 6ft)<br /><br /> Wow, you are tall. Because you are so tall a hamster would be perfect for you.<br /><br /> (no choices as this ends this path.)</p>]]></description>
          <pubDate>Tue, 31 Jan 2017 08:11:35 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2240149#post2240149</guid>
        </item>
              </channel>
    </rss>
  