<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1015055" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1015055</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Excellent, thank you!</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpmysql-sort-question#comment-1086868</link>
    <description> &lt;p&gt;This is pretty intuitive, once I get the syntax conventions sorted out.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Fri, 10 Aug 2001 00:45:56 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1086868 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpmysql-sort-question#comment-1086841</link>
    <description> &lt;p&gt;Another source to look at is &lt;a href=&quot;http://www.mysql.com&quot; class=&quot;bb-url&quot;&gt;http://www.mysql.com&lt;/a&gt;&lt;br /&gt;
They have pretty good documentation and examples.&lt;/p&gt;
 </description>
     <pubDate>Thu, 09 Aug 2001 16:00:40 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1086841 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I did it!</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpmysql-sort-question#comment-1086827</link>
    <description> &lt;p&gt;Thanks to knowing what to look for, I went over to &lt;a href=&quot;http://www.php.net&quot; class=&quot;bb-url&quot;&gt;http://www.php.net&lt;/a&gt; and searched for &quot;ORDER BY&quot; and in the results was:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$result = mysql_query (&amp;quot;select * from phpcal where approved=0 order by sdato&amp;quot;); &lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Which I adapted to:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;nbsp; $result2 = MYSQL_QUERY(&amp;quot;SELECT * FROM members ORDER BY lastname, firstname&amp;quot;);&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Which WORKS!! I was missing the right way to type the darn thing, I guess.&lt;/p&gt;
&lt;p&gt;WHEE HA! Thank you, Mark!&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Thu, 09 Aug 2001 09:04:44 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1086827 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>this part?</title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpmysql-sort-question#comment-1086824</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;nbsp; $usertable = &amp;#039;members&amp;#039;;&lt;br /&gt;&amp;nbsp; $query2 = &amp;quot;SELECT * FROM $usertable&amp;quot;;&lt;br /&gt;&amp;nbsp; $result2 = MYSQL_QUERY($query2);&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Is this what I&#039;m looking to append? Sorry to be so daft but an example would be much appreciated.&lt;/p&gt;
&lt;p&gt;Learning MySQL and PHP is on the &quot;when I&#039;m on mat leave&quot; list...&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt; Suzanne&lt;/p&gt;
&lt;p&gt;Edited to add: I&#039;ve tried the suggested commands (and looked them up in my books, thank you! it&#039;s nice to have at least a rough idea of what I&#039;m looking for) and it doesn&#039;t seem to matter where I put it, it causes some weird nonvalid error report.&lt;/p&gt;
&lt;p&gt;I&#039;ll keep trying, but a good example would be much appreciated! &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 09 Aug 2001 08:17:23 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1086824 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/phpmysql-sort-question#comment-1086815</link>
    <description> &lt;p&gt;Can you post the query for $result2?&lt;/p&gt;
&lt;p&gt;You should be able to append the query with &quot;ORDER BY field_name ASC&quot;&lt;br /&gt;
ASC=ascending&lt;br /&gt;
DESC=descending&lt;/p&gt;
 </description>
     <pubDate>Thu, 09 Aug 2001 07:32:53 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1086815 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
