$Chungking=array(
array(1,"宜居重庆"),
array(2,"畅通重庆"),
array(3,"平安重庆"),
array(4,"森林重庆"),
array(5,"健康重庆"),
);
echo
"
";
echo
"五个重庆工程";
foreach($Chungking as
$chongqing){
echo "";
echo "";
echo
$chongqing[0];
echo " | ";
echo "";
echo
$chongqing[1];
echo " | ";
echo "
";
}
echo
"
";
echo "
";
$chongqing =
array(
array(1,"江北区","重庆江北国际机场","重庆火车站"),
array(2,"万州区","重庆万州机场","万州火车站"),
array(3,"涪陵区","暂无","涪陵火车站"),
array(4,"黔江区","重庆武陵山机场","黔江火车站"),
array(4,"武隆县","重庆武隆仙女山机场","武隆火车站"),
);
echo
"
";
echo
"重庆欢迎您!";
foreach($chongqing as
$chungking){
echo "";
echo "";
echo
$chungking[0];
echo " | ";
echo "";
echo
$chungking[1];
echo " | ";
echo "";
echo
$chungking[2];
echo " | ";
echo "";
echo
$chungking[3];
echo " | ";
echo "
";
}
echo
"
";
echo
"
";
$fuling=array(4,0,8,0,0,0);
$fuling=array(0=>4,1=>0,2=>8,3=>0,4=>0,5=>0);
print_r($fuling);
}
输出结果您想得到!!!!!!!!!!!
原文地址:
阅读(883) | 评论(0) | 转发(0) |