CodeIgniter get URL parameters

How to fetch url parameters in the codeigniter.This is very simple.All data get as an array.


index.php => 0

deposit => 1

11 => 2

3 => 3

Here is a method to get parameters.

First of all you have to load url helper, like this.



That’s all.

Published by

Sumith Harshan

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.