Convertir la ligne matricielle en colonne PHP
public function flip($arr) {
$out = array();
foreach ($arr as $key => $subarr) {
foreach ($subarr as $subkey => $subvalue) {
$out[$subkey][$key] = $subvalue;
}
}
return $out;
}
Zidane (Vi Ly - VietNam)