Personal I'm trying to create a chart using Mysql and Highcharts on a local Xampp server. However, when running index.php only the source code of the page is displayed, not generating the graphic.
Following is the database, table, connection to Mysql database and index.php.
SQLTable
CREATE TABLE IF NOT EXISTS 'sales' (
'id' int(11) NOT NULL AUTO_INCREMENT,
'month' varchar(200) DEFAULT NULL,
'amount' varchar(11) DEFAULT NULL,
PRIMARY KEY ('id')
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=118 ;
INSERT INTO 'sales' ('id', 'month', 'amount') VALUES
(24, 'Abr', '15'),
(25, 'Mai', '40'),
(26, 'Jun', '26'),
(27, 'Jul', '31'),
(28, 'Ago', '39'),
(29, 'Set', '25'),
(30, 'Out', '27'),
(31, 'Nov', ' 32'),
(32, 'Dez', NULL);