I have a PHP array I want to use in my JavaScript code. I\'d rather not do something like for all of the elements in it
Lazy method:
This isn't the "best" method, but hey it works.