CodeIgniter URI Segment
Using CodeIgniter URL class’s function, we can retrieve information from URI string. In this tutorial we are going to explain how we can use the URI class in CodeIgniter to retrieve information from URI segment. Note: This class is initialized automatically so we do need to do it manually. $this->uri->segment(n) Segment function allow you to …