How to use an array value from php to javascript?

后端 未结 5 1113
不知归路
不知归路 2020-12-30 14:10

it was always a question for me that how can i use an array value in javascript while that array is defined in my php scripts

For example consider reading some va

5条回答
  •  鱼传尺愫
    2020-12-30 14:46

    Variant on the PHP to JS without json extension, using join / implode and no loop construct:

    
    
    

提交回复
热议问题