<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1034636" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1034636</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/check-see-if-record-exists-prob#comment-1201467</link>
    <description> &lt;p&gt;right here&lt;/p&gt;
&lt;p&gt;&quot;select email from newsletter where email =&#039; &amp;amp; inventory &amp;amp; &#039;&quot;&lt;br /&gt;
you&#039;re missing quotation marks to separate the string from the variable&lt;/p&gt;
&lt;p&gt;should be&lt;/p&gt;
&lt;p&gt;&quot;select email from newsletter where email =&#039;&quot; &amp;amp; inventory &amp;amp; &quot;&#039;&quot;&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Jun 2006 07:12:57 +0000</pubDate>
 <dc:creator>adjroth</dc:creator>
 <guid isPermaLink="false">comment 1201467 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/check-see-if-record-exists-prob#comment-1201460</link>
    <description> &lt;p&gt;have you tried displaying the actual sql statement that is being executed ie. &lt;code&gt;responce.write (sql_check)&lt;/code&gt;&#039; right before executing the query. Then manully run that on the database.&lt;/p&gt;
&lt;p&gt;You could be looking at the database, seeing a record that matches and assume that the program found data, but if something is formatted wrong in the actual SQL being executed, it did not actually return the results you expected. &lt;/p&gt;
&lt;p&gt;If you have something misformatted (mismatching quotes, invalid characters in the variable &#039;inventory&#039; that mess up the query, etc), echoing out the final sql statement and manually running it by hand is the best way to find out.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Tue, 06 Jun 2006 06:02:43 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1201460 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
