Home  >  Article  >  Backend Development  >  PHP column navigation program_PHP tutorial

PHP column navigation program_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 16:07:111006browse

$d_label=array("service"=>"Paid Service","teach"=>"Tutoring Center","union"=>"Campus Service Union","job"= >"Student part-time job","free"=>"Information library");
$directory=$REQUEST_URI;
while($directory!="/")
{
$d_text =basename($directory);
if(isset($d_label[$d_text])){$d_text=$d_label[$d_text];}
$d_link=$directory;
$d_curx=" ->$d_text";
$d_komplettx=$d_curx.$d_komplettx;
$directory=dirname($directory);
}
echo "Column navigation:".$d_komplettx;
?>


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/315152.htmlTechArticle?php $d_label=array(service=paid service,teach=tutoring center,union=campus service alliance,job =Student part-time job, free=information base); $directory=$REQUEST_URI; while($directory!=/) { $d_text=basena...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn