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


  • 相关阅读:
    技术人生:墨菲定律
    Ioc:Autofac Registration Concepts
    Ioc:autofac lifetime scope.
    Ioc:The basic pattern for integrating Autofac into your application
    Logstash filter 插件之 date
    配置 Elasticsearch 集群
    Linux 命名管道
    Linux 管道
    Golang 入门 : channel(通道)
    Golang 入门 : 竞争条件
  • 原文地址:https://www.cnblogs.com/jiangu66/p/3071839.html
Copyright © 2011-2022 走看看