CodeIgniter Step By Step Tutorial: As usually, we will create first application by build hello application. But, before write code, we must know that we will build application use Model Controller View (MVC) pattern.
- First, we make controller, create a file name “hello.php” within: \system\application\controllers. Enter following code:
2. Next step, make a view. Create you_view.php within CodeIgniter\system\application\views. Enter just simple line code like:
3. Now, test your application. Point your browser to http://localhost/CodeIgniter/index.php/Hello/you You should get like this:
See, this flow: