Question and answer is powered by AnsPress.io
If my domain URL will like https://codeigniter.com/user/libraries/list-data
I want to print “user” from this link, but it not work. I have followed this code.
<?php echo $this->uri->segment(1); ?>