• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arrays

#1
[eluser]Todlerone[/eluser]
Hello all. I have a simple problem that is getting under my skin. Can't for the life of me see why it isn't working.

Code:
foreach ($diagnosis as $dia):
    $data['legend'] = $dia['value'];
endforeach;

When I echo the array results I only get the last value of $diagnosis.

WT...

TY and cheers



Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.