<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012065" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012065</link>
    <description></description>
    <language>en</language>
          <item>
    <title>... because I can&#039;t ORDER BY</title>
    <link>https://www.webmaster-forums.net/web-database-development/mysqlgroup-problems#comment-1069837</link>
    <description> &lt;p&gt;... because I can&#039;t ORDER BY (desc) &lt;strong&gt;within&lt;/strong&gt; the GROUP BY statement, that&#039;s exactly my problem. Or do you know how that would be possible?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Christian Becker&lt;/p&gt;
 </description>
     <pubDate>Mon, 21 Aug 2000 07:23:00 +0000</pubDate>
 <dc:creator>ChrisB</dc:creator>
 <guid isPermaLink="false">comment 1069837 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/mysqlgroup-problems#comment-1069832</link>
    <description> &lt;p&gt;Why don&#039;t you try sorting them by DESC? Just an idea, thats how I do it on my forum (nobody uses it, talkback is more popular these days). ( &lt;a href=&quot;http://dlo.net&quot; class=&quot;bb-url&quot;&gt;http://dlo.net&lt;/a&gt; )&lt;/p&gt;
 </description>
     <pubDate>Mon, 21 Aug 2000 06:06:37 +0000</pubDate>
 <dc:creator>Randall</dc:creator>
 <guid isPermaLink="false">comment 1069832 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hi,
Since this is a high</title>
    <link>https://www.webmaster-forums.net/web-database-development/mysqlgroup-problems#comment-1069593</link>
    <description> &lt;p&gt;Hi,&lt;br /&gt;
Since this is a high traffic site, I would prefer a single SQL query; doing such sub-queries for all 50 threads per page is way too much... any other ideas? =)&lt;/p&gt;
&lt;p&gt;Thanks anyway!&lt;/p&gt;
&lt;p&gt;Christian Becker&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Aug 2000 17:16:00 +0000</pubDate>
 <dc:creator>ChrisB</dc:creator>
 <guid isPermaLink="false">comment 1069593 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/mysqlgroup-problems#comment-1069588</link>
    <description> &lt;p&gt;This looks so familiar ...&lt;/p&gt;
&lt;p&gt;My solution was to do it manually:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#pseudocode&lt;br /&gt;&lt;br /&gt;$newest = &amp;#039;0000-00-00 00:00:00&amp;#039;;&lt;br /&gt;$posts = query( &amp;#039;SELECT p.id, p.date FROM threads t, posts p WHERE p.threadid = t.id&amp;#039; );&lt;br /&gt;while( $post = fetchrow( $posts ) ){&lt;br /&gt;&amp;nbsp; if( $post[ 2 ]&amp;gt;$newest ){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $newest = $post[ 1 ];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $newestID = $post[ 0 ];&lt;br /&gt;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;query( &amp;#039;SELECT login FROM posts WHERE id=&amp;#039;.$newestID );&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Obviously there is some errorchecking involved,&lt;br /&gt;
but that should do it.&lt;/p&gt;
&lt;p&gt;If you want to see my (working) php version in action take a look at&lt;br /&gt;
&lt;a href=&quot;http://www.biker-forum.com/whf/&quot; class=&quot;bb-url&quot;&gt;http://www.biker-forum.com/whf/&lt;/a&gt;&lt;br /&gt;
btw:&lt;br /&gt;
That will be GPLed as soon as I cleaned up the code and fixed some security holes.&lt;/p&gt;
&lt;p&gt;anti&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Aug 2000 16:05:57 +0000</pubDate>
 <dc:creator>anti</dc:creator>
 <guid isPermaLink="false">comment 1069588 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
