Trying to put a PHP math result into JavaScript chart
I’ve been trying to figure this out for days. I hope I can explain this clear. I am trying to call up the results of this simple math equation in JavaScript code below: <?php $x=37; $y=15; $z=$x-$y; echo " ",$z; ?> part of the script code { y: $z, label: "slice" }, { y: 2,… Read More Trying to put a PHP math result into JavaScript chart