how to return an array in php to ajax call,
ajax call :
$.post('get.php',function(data){
alert(data)
});
get.php
$arr_variable = array('033','23454')
echo $arr_variable;
in the alert(data), it is displaying as Array (i.e only text), when i display data[0], 1st letter of Array i.e A is displaying.
Any suggestions ? where i have done wrong