![]() |
problem when Template using form helper - 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 when Template using form helper (/showthread.php?tid=12386) |
problem when Template using form helper - El Forum - 10-17-2008 [eluser]Unknown[/eluser] Hi i am new baby to CI, i don't know how to use form helper in template.i don't want to use any php code on my template. can anyone help me? This is my controller Code: class Welcome extends Controller { here is my template Code: <html> problem when Template using form helper - El Forum - 10-17-2008 [eluser]xwero[/eluser] I don't think you can add 'raw' php to the template. If you want to use the form functions you have to do Code: $data['title']='This is my title'; problem when Template using form helper - El Forum - 10-17-2008 [eluser]Unknown[/eluser] Thanks xwero , your solution is great |