Posts by Ricardo Miranda • 93 points
5 posts
-
5
votes2
answers764
viewsQ: Graphic in Bars Char.js
Well personal I have a database query that returns an array of data. and wanted to put the values to be displayed on the chart in Bars. I tried this but with values coming from vector the graph does…
-
1
votes1
answer206
viewsQ: While inside of While
I was trying to list a result of a select within another while but it only runs the second while once. That’s what I tried to do. $lojas = query("Select…
phpasked Ricardo Miranda 93 -
1
votes1
answer262
viewsQ: PHP variable in JS inside While
I am creating a chart using Chart.js and PHP, I would like the value to come from a PHP array with the input of a JS variable. This is the code of what I tried to do. <script…
-
0
votes2
answers112
viewsA: JSON powered by while
It worked.However I’m not able to pass value from a PHP array. <script type="text/javascript"> // Get the context of the canvas element we want to select var ctx =…
-
2
votes2
answers112
viewsQ: JSON powered by while
I have a Graph Builder that is powered by JSON which I wanted to generate homes dynamically ie have a number of elements stipulated by a variable. Example of what I tried to do: <script…