including another view file - 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: including another view file (/showthread.php?tid=46407) |
including another view file - El Forum - 10-31-2011 [eluser]keevitaja[/eluser] views i have: Code: views/ somehow i can't include header.php in campaign.php like include('../header.php') i found solution: Code: include(realpath(sprintf('%s/application/views/header.php', getcwd()))); is this solution OK or i missunderestood something again? |