title: how to draw Highcharts by php
body: <p>I am using highcharts and microsoft sql server database.I want to draw line charts by database and select xasis and yasis from database.
  So when i try on the localhost, it gives empty page.What is its problem?Why does it give empty page?I dont understand.
  In fact, i dont know how write code that select to xasis and yasis from database.</p>
  
  <pre><code>        xAxis: {
          categories: ['
          &lt;?php 
          $tsql = "SELECT  FROM statistik where mpid=1 ";
          $result=sqlsrv_query( $conn, $tsql);
          while( $registros = sqlsrv_fetch_array( $result)) 
          {
          ?&gt;
           '&lt;?php echo $registros["24hMW"] ?&gt;',
  
           &lt;?php
          }
          ?&gt;
  
          ']
      },
  </code></pre>