'people' ]); $table=[]; $i=0; foreach($people->findAll() as $element){ $el=$element->toArray(); $el["id"]=$element->getId(); $el["num"]=$i+1; foreach($el as $key=>$val){ $table[$key][$i]=$val; } $i++; } $tot=0; ?> "Nome su Telegram","username"=>"Username su Telegram","birthDate"=>"Data di nascita","name"=>"Nome","yearsOld"=>"Età","gender"=>"Genere","orient"=>"Orientamento","where"=>"Viene da","pvtNotice"=>"Avviso sui messaggi privati","bio"=>"Bio"]; $skip=[]; $in=0; foreach(array_keys($table) as $i){ if(!in_array($i,array_keys($ka))){ $skip[]=$in; $in++; continue; } $in++; echo ""; if(count($table[$i])>$tot){ $tot=count($table[$i]); } } ?>
".$ka[$i]."