jajaja Ok mijo mira
Código PHP:
foreach($elmt as $k => $v){
foreach($v as $kk => $vv){
if($kk == "foto_id"){
$vv_id = $vv;
}
if($kk == "messageq_content"){
$vv_m = $vv;
}
if($kk == "receiverq_username"){
$vv_u = $vv;
}
//etc etc etc
}
if($vv_id != $vv_id2){
$vv_id2 = $vv;
echo "<br /><br />" . $vv_id . "<br />";
echo $vv_u . "<br />";
echo $vv_m . "<br />";
}else{
echo $vv_m . "<br />";
}
}