摘要:<?php
header("Content-type:text/html;charset=utf-8");
header("Content-type:application/vnd.ms-excel");
header("Content-Disposit...
header("Content-type: text/html; charset=utf-8");
header("Content-type:application/vnd.ms-excel");
header("Content-Disposition:filename=".date("YmdHis").".xls");
$old = "w|b|c";
$new = "w|b|c|d";
$o = explode("|",$old);
$n = explode("|",$new);
?>
第一开幕式内宾(中午的表) | 第二开处理过的6.24 | 结果 |
foreach($n as $s){
$v_1 = trim($v);
$v_2 = trim($s);
if ($v_1==$v_2) {
$v1 = $s;
break;
}else{
$v1 = '';
}
}
$t++;
?>
=$v?>=$v1?>$v = trim($v);
$v1 = trim($v1);
if($v==$v1){ ?>
正确
新增
共计:=$t?>