This is my PHP code
$cars = array("Volvo", "BMW", "Toyota");
echo $cars;
This is my JavaScript
function assign_dt() {
var cars = xmlHttp.responseText;
document.getElementById('des').innerHTML = cars;
}
I need the values, but they shows me like this "Array" on the output.