Generating highcharts-ready data from mysql

You have data, you want to chart it in highcharts. Good choice, now what’s the best way to do that? I like to create a json generating file that gets called by a javascript function. Here’s an example. $get_var = filter_input(INPUT_GET,'var'); $get_period...