<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1042131" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1042131</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Glad to help.</title>
    <link>https://www.webmaster-forums.net/web-database-development/cant-get-sql-query-correct#comment-1234461</link>
    <description> &lt;p&gt;Glad to help. &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;&lt;/p&gt;
 </description>
     <pubDate>Wed, 22 Oct 2008 21:11:47 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1234461 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Hello pr0gr4mm3r you always</title>
    <link>https://www.webmaster-forums.net/web-database-development/cant-get-sql-query-correct#comment-1234456</link>
    <description> &lt;p&gt;Hello pr0gr4mm3r you always answer my questions promptly - appreciated.&lt;/p&gt;
&lt;p&gt;It works perfectly.&lt;/p&gt;
 </description>
     <pubDate>Wed, 22 Oct 2008 19:44:29 +0000</pubDate>
 <dc:creator>benf</dc:creator>
 <guid isPermaLink="false">comment 1234456 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Although the tables are not</title>
    <link>https://www.webmaster-forums.net/web-database-development/cant-get-sql-query-correct#comment-1234452</link>
    <description> &lt;p&gt;Although the tables are not being joined correctly, this should work with the method you are using:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$sql1 = &amp;#039;SELECT * FROM&lt;br /&gt;&amp;nbsp;&amp;nbsp; imageGallery,&lt;br /&gt;&amp;nbsp;&amp;nbsp; imageCat,&lt;br /&gt;&amp;nbsp;&amp;nbsp; phpbb_users&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; imageGallery.catid = imageCat.ID&lt;br /&gt;&amp;nbsp; AND&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; imageGallery.userID = phpbb_users.user_id&amp;#039;&lt;br /&gt;&amp;nbsp; AND&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; imageGallery.catid = &amp;#039;.$db-&amp;gt;sql_escape($catid).&amp;#039;;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Joining the table using WHERE clauses is not the proper way to do it, though.  Try something like this:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$sql1 = &amp;#039;SELECT * FROM&lt;br /&gt;&amp;nbsp;&amp;nbsp; imageGallery&lt;br /&gt;&amp;nbsp; INNER JOIN imageCat ON imageCat.ID = imageGallery.catid&lt;br /&gt;&amp;nbsp; INNER JOIN phpbb_users ON phpbb_users.user_id = imageGallery.userID&lt;br /&gt;&amp;nbsp; WHERE&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; imageGallery.catid = &amp;#039;.$db-&amp;gt;sql_escape($catid).&amp;#039;;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 22 Oct 2008 14:22:24 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1234452 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
