Jump to content

codeIgnitter and index.php


Gurzi

Recommended Posts

Hello everyone

 

I am trying to use CodeIgniter and i am a little bit confused.

I have the file index.php that has the entire website layout. I will need to use it in a lot of differente pages. The only thing that really change is the div content that is inside the index.php.

 

How i can create just one file and use it in different pages ?

Create the header and footer in differente pages and use include ? ( this is the default style that i use ) but with MVC Pattern i dont know if this is the right method to reach the goal.

 

any suggestions ?

 

thanks

Link to comment
https://forums.phpfreaks.com/topic/101134-codeignitter-and-indexphp/
Share on other sites

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.