![]() |
Is the helper function can't use another param variable which aren't defined in the function name? - 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: Is the helper function can't use another param variable which aren't defined in the function name? (/showthread.php?tid=2911) |
Is the helper function can't use another param variable which aren't defined in the function name? - El Forum - 08-30-2007 [eluser]OneCorea[/eluser] $this->load->helper('myhelper'); in myhelper.php file Code: // if blank string returns 1 when I try to this my own helper function CI displays error as belows.. Code: Message: Undefined variable: temp temp, temp2 is not param which is defined function name parameter.. What is wrong???? Is the helper function can't use another param variable which aren't defined in the function name? - El Forum - 08-30-2007 [eluser]alexsancho[/eluser] try this instead Code: function is_blank($str){ |