title: PHP Mysqli Fetch_array causes 500 Internal error
body: <p>I am currenty trying to make a script using mysqli, However when i run it, it returns a 500 Internal error, But when i remove the fatch_array, it runs without it.
  I have been using PHP.Net mysqli_ Manual.
  PHP Code</p>
  
  <pre><code>&lt;?php
  { /* Global Data */
  $GetPath = $_GET['p'];
  $SqlUser = "root";
  $SqlPass = "***********";
  $SqlHost = "localhost";
  $SqlData = "Site";
  }
  { /* Mysql Connect */
  $Sql = new mysqli($SqlHost, $SqlUser, $SqlPass, $SqlData);
  if ($Sql-&gt;connect_error) { die("Sorry, Could not connect (".$Sql-&gt;connect_errno.") ".$Sql-&gt;connect_error);}
  }
  { /* Test */
  $Page = $Sql-&gt;real_escape_string($GetPath);
  $SqlData = "SELECT * FROM pages WHERE Page = '".$Page."'";
  $SqlQuery = $Sql-&gt;query($SqlData);
  $Data = $SqlQuery-&gt;fetch_array(MYSQLI_ASSOC);
  echo $Data['Title'];
  $Sql-&gt;close();
  }
  ?&gt;
  </code></pre>
  
  <p>So what causes this? I used fefore the mysql_/ commands and now I'm switching to mysqli_*</p>