title: After update wamp php 5.6 php insert not working
body: <p>After update wamp php 5.6 php insert not working...what i do wrong?
  Before update same code work fine.</p>
  
  <pre><code>&lt;form action="signup.php" method="POST"&gt;
           &lt;input class="insert" name="firstname" required id="firstname-signup" type="text" value="" placeholder="First name"&gt;&lt;br&gt;&lt;br&gt;
           &lt;input class="insert" name="lastname" required id="lastname-signup" type="text" value="" placeholder="Last neme"&gt;&lt;br&gt;&lt;br&gt;
           &lt;input class="insert" name="email" required id="email-signup" type="text" value="" placeholder="Email"&gt;&lt;br&gt;&lt;br&gt;
           &lt;input class="insert" name="password" id="password-signup" type="text" value="" placeholder="Password"&gt;&lt;br&gt;&lt;br&gt;
   &lt;input class="submit" name="submit" id="button-signup" type="submit" value="Signup"&gt;
           &lt;/form&gt;
  
  
  &lt;?php    
       if (isset($_POST['submit'])){
  
           session_start();
           $firstname = $_POST['firstname'];
           $lastname = $_POST['lastname'];
           $email = $_POST['email'];
           $password = $_POST['password'];
  
      $sql = "INSERT into user ( firstname, lastname, email, password ) VALUES ('$firstname','$lastname', '$email', '$password' )";
      $result = mysqli_query($con,$sql);
  
      header('location: login.php');
  
  
       }
  ?&gt;
  </code></pre>