How to Pass Php Array to Javascript

by Dinesh 2014-09-29 18:49:15

Do you want to pass Php Array to Javascript?  Use the following simple code to pass  needed php array to Javascript


$data_list_array = $db_obj->getArticleList($elements);

var array = ;

Tagged in:

103
like
1
dislike
0
mail
flag

You must LOGIN to add comments
Guna

Good one...