![]() |
How calling function - 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: How calling function (/showthread.php?tid=3756) |
How calling function - El Forum - 10-20-2007 [eluser]iniweb[/eluser] Example: News.php Code: <?php Code: <?php How on News class call Func() function !? How calling function - El Forum - 10-20-2007 [eluser]unosoft[/eluser] You cannot call a function in one controller from another controller. Instead, you need to move the Func() function to a Library and load the library in both the controllers. hth Kumar Bhogaraju |