CodeIgniter is a very good php Framework. The framework is not perfect. it is always used more or less. Just like CI, if you want to include some public modules on different pages, if this public module is just a simple html, you can directly include it: codeIgniter is a very good php Framework. The framework is not perfect. it is always used more or less.
Just like CI, if you want to include some public modules on different pages, if this public module is just a simple html, you can directly include it:
Load-> view ('footer ');?>In this way, you can include the footer module of the page into the views of different pages.
However, if the public module is not just a simple html, but some data needs to be obtained from the library, you can include it in the above way and find that it is not feasible, in this case, we need to implement some extensions.
To solve this problem, the HMVC extension of CodeIgniter framework is a good choice, and it has been used by myself. You can get it on GIT