zoukankan      html  css  js  c++  java
  • 今天发个技术贴,增加自信心

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


  • 相关阅读:
    C语言ll作业01
    C语言寒假大作战04
    C语言寒假大作战03
    C语言寒假大作战02
    C语言寒假大作战01
    C语言I作业12—学期总结
    C语言I博客作业11
    C语言I博客作业10
    C语言I博客作业08
    C语言寒假大作战02
  • 原文地址:https://www.cnblogs.com/jiangu66/p/3071839.html
Copyright © 2011-2022 走看看