今天发个技术贴,增加自信心

$Chungking=array(
array(1,"宜居重庆"),
array(2,"畅通重庆"),
array(3,"平安重庆"),
array(4,"森林重庆"),
array(5,"健康重庆"),
);
echo "<table style='color:blue;background:pink;' border=1 height=300 width=300>";
echo "<caption>五个重庆工程</caption>";
foreach($Chungking as $chongqing){
echo "<tr>";
echo "<td>";
echo $chongqing[0];
echo "</td>";
echo "<td>";
echo $chongqing[1];
echo "</td>";
echo "</tr>";
}
echo "</table>";
echo "<hr/>";
$chongqing = array(
array(1,"江北区","重庆江北国际机场","重庆火车站"),
array(2,"万州区","重庆万州机场","万州火车站"),
array(3,"涪陵区","暂无","涪陵火车站"),
array(4,"黔江区","重庆武陵山机场","黔江火车站"),
array(4,"武隆县","重庆武隆仙女山机场","武隆火车站"),
);
echo "<table border=1 style='color:red;background:blue;' weight=300 height=300>";
echo "<caption>重庆欢迎您!</caption>";
foreach($chongqing as $chungking){
echo "<tr>";
echo "<td>";
echo $chungking[0];
echo "</td>";
echo "<td>";
echo $chungking[1];
echo "</td>";
echo "<td>";
echo $chungking[2];
echo "</td>";
echo "<td>";
echo $chungking[3];
echo "</td>";
echo "</tr>";
}
echo "</table>";
echo "<hr/>";

$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);
}
输出结果您想得到!!!!!!!!!!!

原文地址:http://bbs.lampbrother.net/read-htm-tid-153235.html

<script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=3&lang=zh"></script> <script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></script>
阅读(4) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值