Answers for "converting php array to js"

PHP
0

convert a php array into a javascript array

var js_array = [<?php echo '"'.implode('","',  $disabledDaysRange ).'"' ?>];
Posted by: Guest on February-25-2021

Code answers related to "converting php array to js"

Browse Popular Code Answers by Language