Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
copy php array to javascript
Jan Janoi
Programming language:
Javascript
2021-06-14 16:16:37
0
Q:
copy php array to javascript
xinhuijia233
Code:
Javascript
2021-06-12 02:21:28
var js_array = [<?php echo '"'.implode('","', $php_array).'"' ?>];
1
Tags
array
java
javascript
php
Related
laravel array to js
how to copy one array to another in javascript
copy array javascript
copy one array to another javascript
js copy array into another
dump php array into javascript array
javascript copy an array
javascript copy array
javascript copy items into another array
js copy array
New to Communities?
Join the community