I create a Statistics page with javascript/php when I try it in my localhost it's work without any problem
but when I make it in an on ligne server
Microsoft Edge give me this result : HTTP 500 error
That's odd... Microsoft Edge can’t find this page
And Firefox give me a white page
why ?!!
You can show the result here :
the error_log said :
[10-Jul-2016 17:03:28 Europe/Berlin] PHP Parse error: syntax error, unexpected '[' in /home/hipponeimmo/public_html/test/charts.php on line 95
In this line I have this:
$sql = "SELECT * FROM statistics WHERE MONTH(st_date) = '$date1' and YEAR(st_date) = '$date2' ";
$sql_sel = mysqli_query($conn,$sql);
$data = [];
what I need to do ? Any help ?