title: Register Page will not send the data to the MySQL database
body: <p>im a learning HTML, PHP and mysql and i have been following a few tutorials as i learn by doing not by researching. I have an issue with the website i have followed the tutorial to the end and no matter how many times i go through i cannot find a single issue, error reporting doesnt show any errors either.</p>
  
  <p>ill give you the code however i dont want someone to fix my mistake and send the code back, I would much rarther someone point out where my mistake is and explain my mistake for me to fix. Thank you in advance.</p>
  
  <pre><code>&lt;?php
  error_reporting(E_ALL);
  define('DB_HOST', 'localhost');
  define('DB_NAME', 'website');
  define('DB_USER', 'root');
  define('DB_PASSWORD', '');
  
  $con = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
  
  if (isset($_POST['Register'])) {
      if (!empty($_POST['Email'])) {
          $query = mysqli_prepare($con, "SELECT * FROM users WHERE Email =    ?");
          mysqli_stmt_bind_param($query, "s", $_POST['Email']);
          mysqli_stmt_execute($query);
          mysqli_stmt_store_result($query);
          if(mysqli_stmt_num_rows($query) != 0)
          {
              echo "SORRY...YOU ARE ALREADY REGISTERED USER...";
          }
          else
          {
              $query = mysqli_prepare($con, "INSERT INTO user (First_Name,Last_Name,Email,Password) VALUES ($First_Name, $Last_Name, $Email, $Password)");
              mysqli_stmt_bind_param($query, "ssss", $_POST['First_Name'], $_POST['Last_Name'], $_POST['Email'], $_POST['Password']);
              mysqli_stmt_execute($query);
              echo "REGISTRATION SUCCESSFUL";
          }
      }
  }
  ?&gt;
  
  &lt;!doctype html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;link href="CSS/master.css" rel="stylesheet" type="text/css" /&gt;
  &lt;link href="CSS/menu.css" rel="stylesheet" type="text/css" /&gt;
  &lt;meta charset="utf-8"&gt;
  &lt;title&gt;Adult Gaming Underground&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;div class="Container"&gt;
      &lt;div class='Header'&gt;&lt;/div&gt;
      &lt;div class="Menu"
          &lt;ul id="nav"&gt;
              &lt;li&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a class="hsubs" href="#"&gt;Meet the team&lt;/a&gt;
              &lt;/li&gt;
              &lt;li&gt;&lt;a class="hsubs" href="#"&gt;Reviews&lt;/a&gt;
                  &lt;ul class="subs"&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Reviews&lt;/a&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;a href="#"&gt;Hints &amp; Tips&lt;/a&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/li&gt;
            &lt;li&gt;&lt;a class="hsubs" href="#"&gt;Charity Events&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Store&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;About Us&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="#"&gt;Account&lt;/a&gt;
              &lt;ul class="subs"&gt;
              &lt;li&gt;&lt;a href="#"&gt;LogIn&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Register&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt;&lt;a href="#"&gt;Reset Password&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
      &lt;div class='LeftBody'&gt;&lt;/div&gt;
      &lt;div class='RightBody'&gt;
          &lt;form id="RegisterForm" method="POST" name="RegisterForm"&gt;
              &lt;div class="FormElement"&gt;
                &lt;input name="First_Name" type="text" required="required" class="TField" id="First_Name" placeholder="First Name"&gt;
              &lt;/div&gt;
              &lt;div class="FormElement"&gt;
                  &lt;input name="Last_Name" type="text" required="required" class="TField" id="Last_Name" placeholder="Last Name"&gt;
              &lt;/div&gt;
              &lt;div class="FormElement"&gt;
                  &lt;input name="Email" type="email" required="required" class="TField" id="Email" placeholder="Email"&gt;
              &lt;/div&gt;
              &lt;div class="FormElement"&gt;
                  &lt;input name="Password" type="password" required="required" class="TField" id="Password" placeholder="Password"&gt;
              &lt;/div&gt;
              &lt;div class="FormElement"&gt;
                &lt;input name="Register" type="button" class="button" id="Register" value="Register"&gt;
              &lt;/div&gt;
          &lt;/form&gt;
      &lt;/div&gt;
      &lt;div class='Footer'&gt;&lt;/div&gt;
  &lt;/div&gt;
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>