<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016374" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016374</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/1-record-database-2-records-were-selected#comment-1095283</link>
    <description> &lt;p&gt;I just think it&#039;s good practice. Otherwise you may find yourself with undesired results. It also improves on readability, too.&lt;/p&gt;
&lt;p&gt;But I am an avid fan of use strict;.&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 Dec 2001 19:59:32 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1095283 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/1-record-database-2-records-were-selected#comment-1095280</link>
    <description> &lt;p&gt;Parenthesis are not crucial in that query, they are all AND statements and can only be interpreted one way.  Depending who you talk to, it can be considered a good habit.&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 Dec 2001 19:48:37 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1095280 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/1-record-database-2-records-were-selected#comment-1095267</link>
    <description> &lt;p&gt;Haven&#039;t had time to look ar your message, but one thing did hit me in the first few lines. Your MySQL query looks a bit icky. &lt;/p&gt;
&lt;p&gt;You should really enclose a number of AND or OR statements in parenthesis. i.e. the following chunk should be in parenthesis:&lt;/p&gt;
&lt;p&gt;... WHERE (flag=1 AND status=&#039;a&#039; AND cat_ID=&#039;$cat_ID&#039;) ...&lt;/p&gt;
&lt;p&gt;Didn&#039;t look at the rest, sorry. Will look when I have more time tomorrow.&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 Dec 2001 16:45:39 +0000</pubDate>
 <dc:creator>Wil</dc:creator>
 <guid isPermaLink="false">comment 1095267 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
