In Processmaker 3 I use Trigger to query the database and store the result in Array.
I want to use this array in Dynaform panel control as a Javascript array so I can display it using Javascript.
How I can Convert it from normal PHP array to javascript array?
I attempted to use JSON convert functions but it never worked for me.