foreach($oldArray as $a)) {
list($key, $value) = each($a);
$newArray[$key] = $value;
}
> -Original Message-
> From: Michael Champagne [mailto:[EMAIL PROTECTED]]
> Sent: 12 iulie 2001 17:37
> To: PHP General Mailing List
> Subject: [PHP] Array problem in PHP. Please help.
On Thursday 12 July 2001 16:37, Michael Champagne wrote:
> Ok, here's the print_r() output of my 2 arrays. The first really just
> has an extra dimension. How can I get the format of the first one
> looking like the bottom one (just an array of key => value pairs)?
>
> Thanks!
>
> Array ( [0] =>
2 matches
Mail list logo