title: Parse error: syntax error, unexpected ';' in C:\xampp\htdocs\webdev\auto-parts-db\submit_processor.php on line 6
body: <p>I'm sure this is a dumb question, but I'm somewhat new to hard coding queries into php files and I cannot figure out why I'm getting this error.</p>
  
  <p>What I'm trying to do is add text input in a form into columns on a database table. Here's what I have:</p>
  
  <p><strong>form.php</strong></p>
  
  <pre><code>&lt;form action="submit_processor.php" method="post"&gt;
  &lt;h2&gt;Add Auto Part&lt;/h2&gt;
  &lt;h3&gt;Part Name:&lt;/h3&gt;
  &lt;input type="text" name="available_parts"&gt;
  &lt;h3&gt;SKU:&lt;/h3&gt;
  &lt;input type="text" name="partSKU"&gt;
  &lt;h3&gt;Vehicle Make:&lt;/h3&gt;
  &lt;input type="text" name="vehicle_make"&gt;
  &lt;h3&gt;Vehicle Model:&lt;/h3&gt;
  &lt;input type="text" name="vehicle_model"&gt;
  &lt;h3&gt;Vehicle Year:&lt;/h3&gt;
  &lt;input type="text" name="vehicle_year"&gt;
  &lt;br /&gt;&lt;br /&gt;
  &lt;input type="submit"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <hr>
  
  <p><strong>submit_processor.php</strong></p>
  
  <pre><code>&lt;?php
  //Connecting to sql db.
  $connect = mysqli_connect("my host","my user","my password","my db");
  //Sending form data to sql db.
  mysqli_query($connect,"INSERT INTO auto_parts (available_parts, partSKU,     vehicle_make, vehicle_model, vehicle_year)
  VALUES ('$_POST[available_parts]', '$_POST[partSKU]',     '$_POST[vehicle_make]', '$_POST[vehicle_model]', '$_POST[vehicle_year]')";
  ?&gt;
  </code></pre>
  
  <p>Any help would be great!</p>