Comment puis-je obtenir ce tableau:Transformer Tableau
Array
(
[0] => Array
(
[max] => 5
[year] => 2007
)
[1] => Array
(
[max] => 6.05
[year] => 2008
)
[2] => Array
(
[max] => 7
[year] => 2009
)
)
Dans ce format:
[year] => [max]
(honte à mon ignorance ... un de ces jours)
ne fonctionnera pas. $ k est les clés qui sont 0,1,2. –
Vous avez raison. Fixé. – cletus