Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1621369
  • 博文数量: 1481
  • 博客积分: 26784
  • 博客等级: 上将
  • 技术积分: 17045
  • 用 户 组: 普通用户
  • 注册时间: 2011-07-12 09:22
文章分类

全部博文(1481)

文章存档

2014年(10)

2013年(353)

2012年(700)

2011年(418)

分类: PHP

2013-05-10 10:07:23

$Chungking=array(
array(1,"宜居重庆"),
array(2,"畅通重庆"),
array(3,"平安重庆"),
array(4,"森林重庆"),
array(5,"健康重庆"),
);
echo "

";
echo "";
foreach($Chungking as $chongqing){
echo "";
echo "";
echo "";
echo "";
}
echo "
五个重庆工程
";
echo $chongqing[0];
echo "
";
echo $chongqing[1];
echo "
";
echo "
";
$chongqing = array(
array(1,"江北区","重庆江北国际机场","重庆火车站"),
array(2,"万州区","重庆万州机场","万州火车站"),
array(3,"涪陵区","暂无","涪陵火车站"),
array(4,"黔江区","重庆武陵山机场","黔江火车站"),
array(4,"武隆县","重庆武隆仙女山机场","武隆火车站"),
);
echo "";
echo "";
foreach($chongqing as $chungking){
echo "";
echo "";
echo "";
echo "";
echo "";
echo "";
}
echo "
重庆欢迎您!
";
echo $chungking[0];
echo "
";
echo $chungking[1];
echo "
";
echo $chungking[2];
echo "
";
echo $chungking[3];
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);
}
输出结果您想得到!!!!!!!!!!!

原文地址:

阅读(871) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~