Home » CodeIgniter Passing Parameter

CodeIgniter Passing Parameter

by Online Tutorials Library

Passing Parameters in CodeIgniter

Now we’ll see an example to pass parameters from controller to view.

1) Download CodeIgniter and name it. We have named it as params.

2) Create a file para.php in application/controllers folder.

3) Create a file para_view.php in application/views folder.

4) Run the program on your browser with URL

http://localhost/params/index.php/para/tut

5) Following output will appear on the screen.

Codeigniter Passing parameters in codeigniter 1

Next TopicCodeIgniter Driver

You may also like