Mostly this question is not about programming, it’s like the how to use question.
and as I said above, should i make a class for every page in codeigniter? Or I can make function’s for every page? if both is right, which one is better?
Mostly this question is not about programming, it’s like the how to use question.
Share
Please check CI Routing http://ellislab.com/codeigniter/user_guide/general/routing.html
You can use 1 controller class with 20 functions for each page or you can have 4 controllers with 5 pages etc…