tengo este archivo php
Código PHP:
<?php
$datas=array();
for($i=0;$i<=5;$i++)
{
$datas[] = array("nombre" => "pedro'".$i."'", "mensaje'".$i."'" =>"hola2","s"=>"0");
}
print_r( json_encode($datas));
?> Código HTML:
success: function(datas) {
jQuery.each(datas, function(indice, val){
jQuery("#mensaje").html(datas[indice]["nombre"]);
alert(datas[indice]["nombre"]);
})
},
ojala me puedan ayudar...
saludos...


