while ($row = oci_fetch_assoc($cursor)){ $comunas[] = array_change_key_case($row); //print_r($row); //exit; }