名站网址导航为大家免费提供关于网站编程方面的知识。
JS最新手机号码检验正则表达式
- 本篇文章的具体介绍如下请大家仔细看
具体相关代码如下如下:
<?php $array1=array( "市场部10月份工资表"=> array( array(1,"高某","市场部经理","5000.00"), array(2,"冯某","普通职员","3000.00"), array(3,"李某","普通职员","2400.00"), ), "产品部10月份工资表"=>array( array(1,"王某","产品部经理","6000.00"), array(2,"周某","普通职员","4000.00"), array(3,"吴某","普通职员","3200.00"), ), "财务部10月份工资表"=>array( array(1,"郑某","财务部经理","4500.00"), array(2,"孙某","普通职员","2000.00"), array(3,"赵某","普通职员","1500.00"), ), ); ?> <!doctype html> <html> <head> <title>市场部10月份工资表</title> <meta charset="utf-8"> </head> <body> <div style="text-align:center;"> <?php foreach($array1 as $key =>$value){echo $key;?> <table width="500" border="1" style="margin:0 auto"> <th>编号</th> <th>姓名</th> <th>职位</th> <th>工资</th> <?php foreach($value as $value1){?> <tr> <?php foreach($value1 as $value2){?> <td><?php echo $value2;?></td> <?php }?> </tr> <?php }?> </table> <br> <?php }?> </div> </body> </html>
关于网站编程方面的知识就说道这里了,希望能够对大家有作用。,利用,php,三维,数组,循环,输出,工资,表,的,一个,实