How can I make php array into Javascript object code?.
feedback
|
You can try this. This is how you dynamically name object properties and object values. I am assuming you want to build this dynamically where the property names are coming from a source. All you have to do is loop through the values
Try This. | |||||
feedback
|