Skip to content
Advertisement

How to insert the php array into another array using a loop?

JavaScript

I tried to run it like this and got an error, so not sure if I can set each of the array elements “y” as one of the amounts and “label” as a unique date like this

JavaScript

Advertisement

Answer

Try it as following:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement