arrays
| From: | Martin Allan Jensen | Date: | Fri, 22 Nov 2002 01:40:12 +0000 |
| Subject: | arrays | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-23583@lists.php.net to get a copy of this message | ||
Hi everyone,
I have a problem sorting my data,
I have an array with a flush of values and years from a mysql database.
When i have all the values i need php to only print the values, and then group it by year souch that
if i had an array that looked like this:
Array([2002] => "20",[2002] => "40",[2003] => "93")
Then it would print
2002 = 60
2003 = 93
Thanks a lot....!!!!!!!!
Best regards,
Martin A Jensen