能提供详细一点的实现方法吗,感谢。
或者发到我邮箱:[email protected]

解决方案 »

  1.   

    把php输出的结果存入后缀为xls的文件里即可
      

  2.   

    简单一点的方法,你自己再研究研究。用php生成excel文件
    <?
    header("Content-type:application/vnd.ms-excel");
    header("Content-Disposition:filename=test.xls");
    echo "test1\t";
    echo "test2\t\n";
    echo "test1\t";
    echo "test2\t\n";
    echo "test1\t";
    echo "test2\t\n";
    echo "test1\t";
    echo "test2\t\n";
    echo "test1\t";
    echo "test2\t\n";
    echo "test1\t";
    echo "test2\t\n";
    ?>
      

  3.   

    TOP:coolstr(占卜师) 的方法可用。
      

  4.   

    哇,这样也行?
    难道PHP内置支持MS的EXCEL文件格式,PFPF!
      

  5.   

    请注意这样的事实——excel可以用来编辑网页
      

  6.   

    用php可以做出能漂亮的报表,功能确实强大。
    比如呢?能给点例子吗?