How to include a .html file in my CI-site |
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. |
Messages In This Thread |
How to include a .html file in my CI-site - by Chandini - 01-08-2015, 04:48 AM
RE: How to include a .html file in my CI-site - by Jamie - 01-08-2015, 05:13 AM
RE: How to include a .html file in my CI-site - by Rufnex - 01-08-2015, 05:28 AM
RE: How to include a .html file in my CI-site - by Avenirer - 01-08-2015, 07:38 AM
RE: How to include a .html file in my CI-site - by Jamie - 01-08-2015, 08:27 AM
|