how to convert php array into javascript array code example
Example: convert a php array into a javascript array
var js_array = [<?php echo '"'.implode('","', $disabledDaysRange ).'"' ?>];
var js_array = [<?php echo '"'.implode('","', $disabledDaysRange ).'"' ?>];