<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1035750" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1035750</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/limiting-number-times-displayed#comment-1206399</link>
    <description> &lt;p&gt;You need to delete the *. That won&#039;t really even logically work with the distinct statement, but if you really want to display any other fields, you&#039;ll have to list them out specifically.&lt;/p&gt;
 </description>
     <pubDate>Mon, 28 Aug 2006 13:54:00 +0000</pubDate>
 <dc:creator>timjpriebe</dc:creator>
 <guid isPermaLink="false">comment 1206399 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/limiting-number-times-displayed#comment-1206354</link>
    <description> &lt;p&gt;thanks, i had my punction wrong.  i remeber needing to inlcude DISTINCT.&lt;/p&gt;
&lt;p&gt;this is what i had before your correction!&lt;/p&gt;
&lt;p&gt;$sql = &quot;SELECT DISTINCT &#039;artist&#039; * FROM downloads WHERE filetype=&#039;video&#039; ORDER BY artist ASC&quot;;&lt;/p&gt;
&lt;p&gt;thanks alot Greg K&lt;br /&gt;
-drew&lt;/p&gt;
 </description>
     <pubDate>Sun, 27 Aug 2006 01:15:50 +0000</pubDate>
 <dc:creator>sublimer</dc:creator>
 <guid isPermaLink="false">comment 1206354 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/limiting-number-times-displayed#comment-1206353</link>
    <description> &lt;p&gt;There was an error is your SQL statemtent when I visited the page, so I couldn&#039;t see what you were talking about, however, if I am understanding you correctly, what you are wanting in the DISTINCT option to select only unique entries (remove duplicates).&lt;/p&gt;
&lt;p&gt;Just guessing based on the error I&#039;m given on your page, you would want something similar to this:&lt;code&gt;SELECT DISTINCT `artist` FROM `downloads` WHERE `filetype`=&amp;#039;video&amp;#039; ORDER BY `artist`&lt;/code&gt;&#039;See &lt;a href=&quot;http://dev.mysql.com/doc/refman/5.0/en/select.html&quot; class=&quot;bb-url&quot;&gt;http://dev.mysql.com/doc/refman/5.0/en/select.html&lt;/a&gt; for more info.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Sun, 27 Aug 2006 01:07:03 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1206353 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
