Welcome Guest, Not a member yet? Register   Sign In
include view files
#1

[eluser]Matrices[/eluser]
I'm new to CI, but I do know that you can string view files together by using:

Code:
$this->load->view('name')

What I'm hoping to find is some way to imbed a view file into a particular spot inside of another view file. For instance, if I were to be doing this using straight up php I would just place this code inside the page:

Code:
<? include ('pagename.php'); ?>

Is there a way to do this with CI?


Messages In This Thread
include view files - by El Forum - 07-22-2008, 01:49 PM
include view files - by El Forum - 07-22-2008, 01:55 PM
include view files - by El Forum - 07-22-2008, 01:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB