i use $.getJSON to call php file. it echos this back.
for($i=0; $i<=10; $i++)
{
$nr[] = $i;
}
echo "{'result': 'error', 'count': '$nr'}";
in jquery to get result i just use
alert(data.result)
how do i get all the nr:s in count?
EDIT: But how do i loop the array through in jquery? All the keys are numeric and i dont know how to retrieve them.