Welcome Guest, Not a member yet? Register   Sign In
How to include a .html file in my CI-site
#5

Whilst I completely agree with changing the extension of the file, according to the documentation you can use $this->load->view() to include files other than those with the .php extension? So surely this will include the html file?

"The first parameter is required. It is the name of the view file you would like to load. Note: The .php file extension does not need to be specified unless you use something other than .php."
Jamie Bond
Full time International Development undergraduate.
Part time website developer.
Reply


Messages In This Thread
RE: How to include a .html file in my CI-site - by Jamie - 01-08-2015, 08:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB