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
solved Can’t get PHP variables in the JS script when setting Highcharts head tag [closed]
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
solved Can’t get PHP variables in the JS script when setting Highcharts head tag [closed]