title: Parse error: syntax error, unexpected end of file in D:\xampp\htdocs\ex_starts\ch04_ex1\delete_category.php on line 32
body: <pre><code>&lt;?php
  
  //Get ID
  $category_id = filter_input(INPUT_POST, 'category_id', FILTER_VALIDATE_INT);
  
  //Validate inputs
  if ($category_id == null || $category_id == false) {
  
  $error = &quot;Invalid category ID.&quot;;
  
  include('error.php');
  
  } else {
  
  require_once('database.php');
  // Delete the product from the database
  
  
  $query = 'DELETE FROM categories
  
                WHERE categoryID = :category_id';
  
  $statement = $db-&gt;prepare($query);
  
  $statement-&gt;bindValue(':category_id', $category_id);
  
  $statement-&gt;execute();
  
  $statement-&gt;closeCursor();
  
  // Display the Category List page
  **include('category_list.php');** 
  </code></pre>
  <p>** is line 32. I got error :</p>
  <blockquote>
  <p>syntax error, unexpected end of file in D:\xampp\htdocs\ex_starts\ch04_ex1\delete_category.php</p>
  </blockquote>