Codeigniter3 Controller|view|Part-3 in Urdu||Hindi 2020

Опубликовано: 18 Март 2026
на канале: Faroque usman
215
84

CodeIgniter permits you to do this. Simply create sub-directories under the main application/controllers/ one and place your controller classes within them. Each of your sub-directories may contain a default controller which will be called if the URL contains only the sub-directory.


Codeigniter is an MVC (Model - View - Controller) framework. It's really not a good idea to call a function from the view. The view should be used just for presentation, and all your logic should be happening before you get to the view in the controllers and models.

Must Remember
When we will create Controller File Name The Letter of Your file Must be Capital Without giving any space.

When You are Locating Your codeigniter file structure in config.php file
You must check complete path Where you have install codeigniter
Then paste your base_url in config.php file

When you first time open codeigniter that time codeigniter use Welcome controller and show welcome_message file which located in view folder.
Because in MVC pattern all files must controller by controller.

#Codeigniter
#controller
#farooqueusman
Our MORE VIDEOS

How To Codeigniter3 Directory Structure Pattern| Part-2 in Urdu||Hindi
2020CONTACT WITH US FOR MORE QUERIES GIVEN LINKS
   • How To Codeigniter3 Directory Structure Pa...  

How To Install Codeigniter3 Part1| in urdu|Hindi
   • How To Install Codeigniter3  

   • How To Codeigniter3 Directory Structure Pa...