arrays

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux