title: PHP Suddenly shows this error
body: <p>This is my code for login:</p>
  
  <pre><code>&lt;?php
  $con = mysqli_connect("localhost", "id2815222_b1gbrother", "orwell", "id2815222_database");
  
  $studentno = $_POST["studentno"];
  $password = $_POST["password"];
  
  $statement = mysqli_prepare($con, "SELECT * FROM bigbrother WHERE studentno = ? AND password = ?");
  mysqli_stmt_bind_param($statement, "is", $studentno, $password);
  mysqli_stmt_execute($statement);
  
  mysqli_stmt_store_result($statement);
  
  mysqli_stmt_bind_result($statement, $userID, $studentno, $firstname, $middlename, $lastname, $date, $password, $number);
  
  $response = array();
  $response["success"] = false;  
  
  while(mysqli_stmt_fetch($statement)){
      $response["success"] = true;  
  
  }
  
  echo json_encode($response);
  </code></pre>
  
  <p>?></p>
  
  <p>last night this was running perfectly then this afternoon it shows this errors:</p>
  
  <blockquote>
    <p>Warning: mysqli_stmt_execute(): Premature end of data (mysqlnd_wireprotocol.c:1130) in /storage/ssd3/222/2815222/public_html/login2.php on line 9</p>
    
    <p>Warning: mysqli_stmt_execute(): RSET_HEADER packet 4 bytes shorter than expected in /storage/ssd3/222/2815222/public_html/login2.php on line 9</p>
    
    <p>Warning: mysqli_stmt_execute(): Error reading result set's header in /storage/ssd3/222/2815222/public_html/login2.php on line 9
    {"success":false}</p>
  </blockquote>
  
  <p>My database has: <code>user id</code>, <code>firstname</code>, <code>middlename</code>, <code>lastname</code>, <code>date</code>, <code>password</code>, <code>number</code> as columns. thanks</p>