title: Error: Column count doesn't match value count at row 1
body: <p>I am getting this error here is my code</p>
  
  <pre><code>if(isset($_POST['submit']))
      {
       $projTit=mysql_escape_string($_POST['projecttitle']);
       $projCat=mysql_escape_string($_POST['projectcategory']);
       $budget=intval(mysql_escape_string($_POST['budget']));
       $description=mysql_escape_string($_POST['editor1']);
       $query=sprintf("insert into projects value('%s','%s','%s',%d)",
              $projTit,$description,$projCat,$budget);
       if (!mysql_query($query)){
           die('Error: ' . mysql_error());
           }
          echo '&lt;p class="record"&gt;Your Record has been Added&lt;p&gt;';
      }
  
      ?&gt;
  </code></pre>
  
  <p>I have tried to write %d in <code>''</code> but still not working.</p>
  
  <p><img src="https://i.stack.imgur.com/yOXvF.jpg"></p>