What is the best way to make a breadcrumb with Code Igniter?

zourite picture zourite · Jun 27, 2011 · Viewed 25.2k times · Source

I wonder what a best way to make a breadcrumb with Code Igniter.

1 : Retrieve the strings with URL

example : $this->uri->segment(2)

2 : Do you know another way ?

I'd really like to have your opinion

Answer

Dan picture Dan · Jun 27, 2011

Using URL segments is specific to how you have your URL structured - there is not always a 1:1 match.

http://forum.codeigniter.com/thread-25372.html?highlight=137949