problem in view page - 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: problem in view page (/showthread.php?tid=41507) |
problem in view page - El Forum - 05-10-2011 [eluser]Bigil Michael[/eluser] controller Code: $build_array = array(); Code: <?php foreach($meow as $crow){?> 2 21 . . . 211000033.. i want to print the count only can anyone solve this problem??? in the controller iam getting the correct result, but i totally failed to send it to the view............ problem in view page - El Forum - 05-10-2011 [eluser]Nick_MyShuitings[/eluser] At least link to your previous thread so people can read the backstory on everything that you've tried... and post a var_dump of $meow, so that the people can see the final generated array... cuz you're just having a problem now figuring out how to play with your array (standard array functions). Also... get rid of those php open and close tags on each line in your form... enclose the whole section and be done with it, or use foreach template tages <?foreach($a as $b):?> etc |