Answers for "laravel string to javascript array"

PHP
1

copy php array to javascript

var js_array = [<?php echo '"'.implode('","', $php_array).'"' ?>];
Posted by: Guest on March-29-2020
1

laravel array to js

var app = @json($array);
Posted by: Guest on May-25-2020

Code answers related to "laravel string to javascript array"

Browse Popular Code Answers by Language