Answers for "convert php array to javascript array in php"

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 "convert php array to javascript array in php"

Browse Popular Code Answers by Language