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?
#2

[eluser]beemr[/eluser]
Check out this thread on embedding views
#3

[eluser]Matrices[/eluser]
ty for the fast reply! I'll get right on it.




Theme © iAndrew 2016 - Forum software by © MyBB