title: using highcharts with php and mysql
body: <p>is anyone ever use hightchart??i want to use hightchart to represent the data retrieve from mysql database..i try look at the example,this is full example:  </p>
  
  <pre><code>    &lt;script type="text/javascript"&gt;
       $(function() {
  var seriesOptions = [],
      yAxisOptions = [],
      seriesCounter = 0,
      names = ['MSFT', 'AAPL', 'GOOG'],
      colors = Highcharts.getOptions().colors;
  
  $.each(names, function(i, name) {
  
  $.getJSON('http://www.highcharts.com/samples/data/jsonp.php?filename='+ name.toLowerCase() +'-c.json&amp;callback=?',   function(data) {
  
  
          seriesOptions[i] = {
              name: name,
              data: data
          };
  
          // As we're loading the data asynchronously, we don't know what order it will arrive. So
          // we keep a counter and create the chart when all the data is loaded.
          seriesCounter++;
  
          if (seriesCounter == names.length) {
              createChart();
          }
      });
  });
  
  
  
  // create the chart when all data is loaded
  function createChart() {
  
      chart = new Highcharts.StockChart({
          chart: {
              renderTo: 'container'
          },
  
          rangeSelector: {
              selected: 4
          },
  
          yAxis: {
              labels: {
                  formatter: function() {
                      return (this.value &gt; 0 ? '+' : '') + this.value + '%';
                  }
              },
              plotLines: [{
                  value: 0,
                  width: 2,
                  color: 'silver'
              }]
          },
  
          plotOptions: {
              series: {
                  compare: 'percent'
              }
          },
  
          tooltip: {
              pointFormat: '&lt;span style="color:{series.color}"&gt;{series.name}&lt;/span&gt;: &lt;b&gt;{point.y}&lt;/b&gt; ({point.change}%)&lt;br/&gt;',
              valueDecimals: 2
          },
  
          series: seriesOptions
      });
  }
  
      });
      &lt;/script&gt;
  </code></pre>
  
  <p>the problem is they used this link ("http://www.highcharts.com/samples/data/jsonp.php?filename='+ name.toLowerCase() +'-c.json&amp;callback=?") to get the data and which that i cant to view the example how they display the data..
  i dont know how the link "http://www.highcharts.com/samples/data/jsonp.php" is look like, and how they represent the data.. i want to make my own page that retrieve data from database  and replace the link above with my own php page..
  this is working example...http://www.highcharts.com/stock/demo/compare</p>