tags. If you need to apply different formatting to the links and the slashes, create your style for the slashes as .dynNav, then override it for the links with an a.dynNav selector. */ $def = "index"; //default web page for directories on your server. $dPath = $PHP_SELF; //Get the script path, relative to web root. $dChunks = explode("/", $dPath); //Separate out folder and file names by looking for slashes. ?> Home / "; //add the closing tag. }else $prChunks[0]=$dChunks[$i] . " / "; //Otherwise, just use the chunk name, close the a tag and add a paddeslash for disply. echo('\"\>');ay. echo('\"\>'); echo(str_replace("_" , " " , $prChunks[0])); //Finish writing the link, replacing underscores with spaces for the end user.}?>