Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

convert a php array into a javascript array

var js_array = [<?php echo '"'.implode('","',  $disabledDaysRange ).'"' ?>];
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #php #array #javascript #array
ADD COMMENT
Topic
Name
9+5 =