![]() |
returning multidimensional array - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: returning multidimensional array (/showthread.php?tid=46789) |
returning multidimensional array - El Forum - 11-15-2011 [eluser]Todlerone[/eluser] Hello all and TY in advance for any help/suggestions. I have some code that I re-use quite alot. I tried to create a function within my class to call. It does work but I only get one value and not the hundreds that I expect. Here is the code I want to re-use. Code: switch($unit){ Code: $rangeSEL=$this->chartshow($unit, $ps['treat_unit'], $brainDIAG, $data['year']); Code: function chartshow($unitPOST, $unitDB, $holder, $year){ TY.... |