CodeIgniter: Creating and Sending Parameters Between Controller and ViewTag: CodeIgniter, framework, MVC, parameter, controller, view Category: PHP Frameworkpost: 21 Jan 2008 read: 4,227 CodeIgniter Step By Step Tutorial: We still wok with our first application at CodeIgniter. But we will build controller and view better. Create parameters in controller and send it to view. It will make our application more flexible. Open your hello.php within CodeIgniter/system/application/controller. Overwrite become like this:
Now, open your you_view.php within CodeIgniter/system/application/views. Rewrite with following code:
Point your browser to http://localhost/CodeIgniter/index.php/hello/you.
| ||
| | Give Your Opinion | Recommend |
|





