title: Data doesn't show in browser using PHP and JSON
body: <p>I'm trying to get data from a database using PHP, then use JSON to show it in a array. The problem is when I remove the comment-tags on one of the 3 rows, none of the text does'nt longer appear in the browser.. Why?</p>
  
  <pre><code>&lt;?php
  
      //koble til database
      $mysqli = mysqli_connect('localhost', 'root', '','dump');
      //Lager query til databasen
      $select = mysqli_query($mysqli,'SELECT * FROM authors,articles    WHERE authors.author_id = articles.author_id ORDER BY articles.author_id AND articles.article_id ASC');  
      //Oppretter liste
      $rows=array();
      while($row=mysqli_fetch_array($select))
      {
          $rows[] = array('Forfatter_id' =&gt; $row['author_id']);
          $rows[] = array('Fornavn' =&gt; $row['first_name']);
          //$rows[] = array('Etternavn' =&gt; $row['last_name']);
          $rows[] = array('Artikkel_id' =&gt; $row['article_id']);
          //$rows[] = array('Tittel' =&gt; $row['title']);
          //$rows[] = array('Innhold' =&gt; $row['content']);
          $rows[] = array('Publisert' =&gt; $row['publish_date']); 
      }
      //Output
      //echo '&lt;pre&gt;';  
      //print_r($rows);  
      //echo '&lt;/pre&gt;'; 
      echo json_encode($rows, JSON_PRETTY_PRINT);  
  
      error_reporting(E_ALL);
      ini_set('display_errors', '1'); 
  ?&gt;
  </code></pre>
  
  <p>Any ideas? </p>