<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1024693" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1024693</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150884</link>
    <description> &lt;p&gt;lol no problem. that was a good laugh.&lt;/p&gt;
 </description>
     <pubDate>Wed, 05 May 2004 03:13:08 +0000</pubDate>
 <dc:creator>s0da</dc:creator>
 <guid isPermaLink="false">comment 1150884 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150883</link>
    <description> &lt;p&gt;I totally messed up the variable name.  Sorry to waste your time, my error!&lt;/p&gt;
 </description>
     <pubDate>Wed, 05 May 2004 02:51:57 +0000</pubDate>
 <dc:creator>airoid3000</dc:creator>
 <guid isPermaLink="false">comment 1150883 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150818</link>
    <description> &lt;p&gt;did you try&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$username&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
just before the sql statement remember&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$sql &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= \&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;select sum(updates) from update_track where (username=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$username&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;)\&quot;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$username&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = \&quot;toto\&quot;;&lt;br /&gt;mysql_query(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$sql&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
that won&#039;t work you have to set $username before you set it in sql&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 14:04:29 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1150818 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150809</link>
    <description> &lt;p&gt;Okay, then how is it getting the variable? Perhaps you have an issue elsewhere?&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 11:33:35 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1150809 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150788</link>
    <description> &lt;p&gt;FYI, it is submitting the sql statement with username being blank.&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 02:18:58 +0000</pubDate>
 <dc:creator>airoid3000</dc:creator>
 <guid isPermaLink="false">comment 1150788 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150779</link>
    <description> &lt;p&gt;I actually make the usernames for my clients.  Therefore, they are all letters.&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 01:35:07 +0000</pubDate>
 <dc:creator>airoid3000</dc:creator>
 <guid isPermaLink="false">comment 1150779 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150778</link>
    <description> &lt;p&gt;yeah cause i was thinking maybe it was the username that was causing the syntax error. possibly.&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 01:29:30 +0000</pubDate>
 <dc:creator>s0da</dc:creator>
 <guid isPermaLink="false">comment 1150778 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150777</link>
    <description> &lt;p&gt;Well, lol, that&#039;s no good.&lt;/p&gt;
&lt;p&gt;You don&#039;t want to allow just anything in!  At the very least, restrict it to letters and numbers only, no other characters. Any other character will allow malicious scripting, break things, et cetera.&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 01:23:25 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1150777 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150775</link>
    <description> &lt;p&gt;Whatever the username that is logged in is.  Could be anything.&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 00:46:58 +0000</pubDate>
 <dc:creator>airoid3000</dc:creator>
 <guid isPermaLink="false">comment 1150775 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/syntax-error-0#comment-1150773</link>
    <description> &lt;p&gt;what does the variable $username contain?&lt;/p&gt;
&lt;p&gt;$username = &quot;something&quot;;&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 May 2004 00:32:11 +0000</pubDate>
 <dc:creator>s0da</dc:creator>
 <guid isPermaLink="false">comment 1150773 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
