[Solved] Can’t get PHP variables in the JS script when setting Highcharts head tag [closed]

[ad_1]

You have to initialize your variables BEFORE echoing them in your JavaScript function. So place the PHP that loads these variables above your <script>

8

[ad_2]

solved Can’t get PHP variables in the JS script when setting Highcharts head tag [closed]