title: Mysql inserting id as 0
body: <p>I am trying to make a revisions page, but when I insert a new revision, it sets the id to 0 instead of 1 more than the last entry, so I can make 1 new revision, but no more. Here is my mySQL code:</p>
  
  <pre><code>("INSERT INTO `revisions` (version, author, content, `date`) VALUES ('".$version."', '".$_SESSION['username']."', '".$content."', '".$date."')");
  </code></pre>
  
  <p><strong>Edit:</strong>
  Wow that was embarrassing... I made the table id default 0...
  <strong>Schema:</strong></p>
  
  <pre><code>CREATE TABLE `revisions` (
   `id` int(11) NOT NULL,
   `version` varchar(255) NOT NULL,
   `author` varchar(255) NOT NULL,
   `content` varchar(255) NOT NULL,
   `status` int(255) NOT NULL,
   `date` varchar(255) NOT NULL,
   PRIMARY KEY (`id`)
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1
  </code></pre>