Make and display PHP Simple dynamic breadcrumb

Description

How to make and display PHP MySQL Simple dynamic breadcrumb. Breadcrumb used to show category wise list in a single line and show the category and subcategory list so user easily category list. How to make Breadcrumb navigation script using PHP MySQL.  

How to create Breadcrumb navigation in PHP MySQL.

$crumbs = explode("/",$_SERVER["REQUEST_URI"]);   //get url

foreach($crumbs as $crumb){

    echo ucfirst(str_replace(array(".php","_"),array(""," "),$crumb) . ' ');

 

}

How to create and display Bread crumb using Php step by step