title: Sql Error - Incorrect integer value
body: <p>I'm getting following error when I submit a form:</p>
  
  <pre><code>Can't added a new post. Incorrect integer value: '' for column 'aid' at row 1
  </code></pre>
  
  <p><strong>Php Code:</strong></p>
  
  <pre><code>$insert = mysql_query("INSERT INTO brt_articles VALUES( '', '$post_title', '$des', 
  '$date', '$org_date')");    
  
      if($insert)
      {
          echo "&lt;font color=green&gt;Successfully added a new article.&lt;/font&gt;";
          header("Refresh:3; url=allbrtarticle.php");
      }
      else
      {
          echo "&lt;font color=red&gt;Can't added a new post&lt;/font&gt;" . 
                mysql_error();
      }
  </code></pre>
  
  <p>In my Localhost It's ok. But in server why it's giving me a error message ?</p>