title: Error "Column count doesn't match value count at row 1 "
body: <p>I have that error </p>
  
  <p><a href="https://i.stack.imgur.com/TsmhU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TsmhU.png" alt="Error msg"></a></p>
  
  <p>for this php code</p>
  
  <pre><code>$query = "insert into question values(" . $_SESSION['testqn'] . ",$newstd,'" . htmlspecialchars($_REQUEST['question'], ENT_QUOTES) . "','" . htmlspecialchars($_REQUEST['optiona'], ENT_QUOTES) . "','" . htmlspecialchars($_REQUEST['optionb'], ENT_QUOTES) . "','" . htmlspecialchars($_REQUEST['optionc'], ENT_QUOTES) . "','" . htmlspecialchars($_REQUEST['optiond'], ENT_QUOTES) . "','" . htmlspecialchars($_REQUEST['correctanswer'], ENT_QUOTES) . "'," . htmlspecialchars($_REQUEST['marks'], ENT_QUOTES) . ")";
  </code></pre>