Answers for "how to get php array value to js arrayt"

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 "how to get php array value to js arrayt"

Browse Popular Code Answers by Language