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] = Array ( [trade_date] = Trade Date )
[1] = Array (
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
2 matches
Mail list logo