Ver original$datos = array();while ($mrfocux = $focux->fetch_assoc()) { foreach($mrfocuxd as $key => $value){ $datos[$key][] = $value; }}