Simple dynamic breadcrumb
I think this script is of big interest to any noob around here :) including me :) What I want to create is a little code that I can use in any file and will generate a breadcrumb like this: If the file is called " website.com/templates/index.php " the breadcrumb should show: Website.com > Templates ^^ link ^^plain text If the file is called " website.com/templates/template_some_name.php " the breadcrumb should show: Website.com > Templates > Template Some Name ^^ link ^^link ^^plain text Hmm, from the examples you gave it seems like "$_SERVER['REQUEST_URI']" and the explode() function could