Undefined variable: message? - 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: Undefined variable: message? (/showthread.php?tid=36800) |
Undefined variable: message? - El Forum - 12-15-2010 [eluser]anna16[/eluser] Why I am having this strange error? Undefined variable message? in my view form? controller: site.php Code: more codes here.... view: email_userpass_form.php Code: <head> Thanks in advanced. Undefined variable: message? - El Forum - 12-15-2010 [eluser]Senthilguru[/eluser] Hi, Seems , In your controller codes under if block is running... So please change the code in view like this <?php if(isset($message)) echo $message; ?> Regards, Senthilguru.E www.nephzat.com |