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

PHP column navigation program_PHP tutorial

WBOY
Release: 2016-07-21 16:07:11
Original
1040 people have browsed it

$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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template