title: phpmyadmin not using DEFAULT value when input is left empty
body: <p>I have this problem where if I leave my input for 'Title' blank, then it won't set the default value: "Untitled" when sent to the database. I've looked online and have made sure that my settings were correct in phpmyadmin but it still won't set the default value. Any piece of advice is appreciated!</p>
  
  <p>Here are my PHPmyadmin settings for the "Title" column:</p>
  
  <p><a href="https://i.stack.imgur.com/XnhkQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XnhkQ.png" alt="enter image description here"></a></p>
  
  <p>These are my files:</p>
  
  <p>addart.php</p>
  
  <pre><code>&lt;form method="post" action="addtodb.php"&gt;
  
    &lt;label for="Title"&gt;
       &lt;h4&gt;Title&lt;/h4&gt;
    &lt;/label&gt;
  
    &lt;input class="u-full-width" 
           type="text" 
           placeholder="Title of art" 
           id="Title"
           name="Title"&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>addtodb.php</p>
  
  <pre><code>&lt;?php
  
  if($_SERVER['REQUEST_METHOD'] == "POST") {
  
  $host = 'localhost';
  $user = 'root';
  $pass = '';
  $db = 'testdb';
  
  $dbConnection = new mysqli($host, $user, $pass, $db);
  
  if (mysqli_connect_errno()) {
      printf("Could not connect to the mySQL database: %s\n", mysqli_connect_error());
      exit();
  }
  
  if($_POST) {
  
      $artwork = $_POST["Artwork"];
      $medium = $_POST["Medium"];
      $artist = $_POST["Artist"];
      $title = $_POST["Title"];
  
      $results = $dbConnection-&gt;query("INSERT INTO art 
                                     (Artwork, Title, Artist, Medium) VALUES      
                                 ('$artwork','$title','$artist','$medium');");
  
      if (!$results) {
          echo 'Unable to insert into database.';
          exit();
      } else {
          echo 'Successfully added!';
      }
  
      mysqli_close($dbConnection);
      header("Location: galleryonly.php"); /* Redirect browser */
      exit();
  }
  ?&gt;
  </code></pre>