<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>Syntax Help (more than one criteria in $options[&amp;apos;where&amp;apos;] line)</title>
        <link>https://interactivetools.com/forum/forum-posts.php?Syntax-Help-more-than-one-criteria-in-options-where-line-68828</link>
        <description></description>
        <pubDate>Wed, 18 Nov 2026 20:30:57 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;Syntax-Help-more-than-one-criteria-in-options-where-line-68828" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [Dave] Syntax Help (more than one criteria in $options[&apos;where&apos;] line)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191335#post2191335</link>
          <description><![CDATA[Yep, that's what I need Dave. I tried it and it seems to work. Thanks!<br /><br />Brian<br />]]></description>
          <pubDate>Thu, 24 Apr 2008 22:42:44 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191335#post2191335</guid>
        </item>
                <item>
          <title>Re: [rasbro] Syntax Help (more than one criteria in $options[&apos;where&apos;] line)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191333#post2191333</link>
          <description><![CDATA[So you want a where that matches any of the 3?  Is that right?  Try this:<br /><br />$options['where'] = 'default_topic = &quot;Grilling Tips&quot; OR other_topic1 = &quot;Grilling Tips&quot; OR other_topic2 = &quot;Grilling Tips&quot;'; <br /><br />Let me know if that works for you.<br />]]></description>
          <pubDate>Thu, 24 Apr 2008 19:00:04 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191333#post2191333</guid>
        </item>
                <item>
          <title>Syntax Help (more than one criteria in $options[&apos;where&apos;] line)</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2191331#post2191331</link>
          <description><![CDATA[I can't get this to work. I want to be able to assign articles to more than one topic or section. To do this I have 3 drop down lists that allow me to choose which default topic or other additional topics the article will appear. So far I am doing it this way and have tried both versions:<br /><br />$options['where'] = 'default_topic = &quot;Grilling Tips&quot;'; 'other_topic1 = &quot;Grilling Tips&quot;'; 'other_topic2 = &quot;Grilling Tips&quot;';<br /><br />$options['where']      = &quot;default_topic = 'Grilling Tips'&quot;; &quot;other_topic1 = 'Grilling Tips'&quot;; &quot;other_topic2 = 'Grilling Tips'&quot;;<br /><br />The article shows up when the &quot;default_topic&quot; drop down is selected but not when I choose the &quot;other_topic1&quot; or &quot;other_topic2&quot; drop down selection for the article. So, unless the article is assigned to the &quot;default_topic&quot; selection, it does not show up.<br /><br />Any ideas? I have tried other syntax, like separating the options with a comma or other ways but always get a syntax error.<br /><br />Thanks,<br />Brian<br />]]></description>
          <pubDate>Thu, 24 Apr 2008 18:15:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2191331#post2191331</guid>
        </item>
              </channel>
    </rss>
  