<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1019240" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1019240</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting#comment-1114397</link>
    <description> &lt;p&gt;Thanks guys! It works like a dream now! I thought it would be something simple like that.&lt;/p&gt;
 </description>
     <pubDate>Wed, 18 Sep 2002 19:09:19 +0000</pubDate>
 <dc:creator>necrotic</dc:creator>
 <guid isPermaLink="false">comment 1114397 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting#comment-1114392</link>
    <description> &lt;p&gt;You can use the id field if you want. Before I knew better, I used to do it as &lt;strong&gt;insert into tablename (id) values (&#039;NULL&#039;)&lt;/strong&gt;. This forces the auto-increment to happen. It is much cleaner and easier to leave it off though. Any time I run into a problem like this, I usually try echoing the statement to the screen to make sure that I am picking up the right data and then try inserting the same SQL statement without using the script, either through the command line or phpmyadmin. This tends to help solve all of those mysteries.&lt;/p&gt;
 </description>
     <pubDate>Wed, 18 Sep 2002 13:44:55 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1114392 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting#comment-1114390</link>
    <description> &lt;p&gt;Mark is right, you don&#039;t need to include the id field since it is auto increment. nike_guy_man is also correct, while it will work without quotes around your variables you really should include them because if your variable has a comma or a double quote in it then it will break your query.&lt;/p&gt;
 </description>
     <pubDate>Wed, 18 Sep 2002 13:24:56 +0000</pubDate>
 <dc:creator>Peter J. Boettcher</dc:creator>
 <guid isPermaLink="false">comment 1114390 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting#comment-1114356</link>
    <description> &lt;p&gt;Don&#039;t you also need quotes around the values?? I&#039;ve ran into that problem a few times...&lt;br /&gt;
Are you getting any errors?&lt;/p&gt;
 </description>
     <pubDate>Wed, 18 Sep 2002 10:45:57 +0000</pubDate>
 <dc:creator>nike_guy_man</dc:creator>
 <guid isPermaLink="false">comment 1114356 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/inserting#comment-1114353</link>
    <description> &lt;p&gt;omit the `id` field from your query&lt;/p&gt;
 </description>
     <pubDate>Wed, 18 Sep 2002 10:36:17 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1114353 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
