Converting Array
| From: | John Wulff | Date: | Thu, 26 Jun 2003 01:37:02 +0000 |
| Subject: | Converting Array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152899@lists.php.net to get a copy of this message | ||
I've got an array in the following format:
Array ( [Jan-1999] => 36.04,140.35,319.53,324.07 [Feb-1999] =>
1.78,71.78,320.58,141.97 )
I need it in the following format:
$example_data = array(
array("Feb-1999",1.78,71.78,320.58,141.97),
array("Jan-1999",36.04,140.35,319.53,324.07)
);
I'm such an idiot when it comes to arrays that I can't figure this out. How
do I do it?
Thanks.