各位大师?……谁有  用phpdao出excel表  代码?………………谢谢

解决方案 »

  1.   

    读取excel    : phpExcelReader
    生成excel    : PHPExcel
      

  2.   

    http://hi.baidu.com/boneguan/blog/item/e2d712125f0a0159f819b8df.html
      

  3.   

    不是有PHPExcel组件,直接引用导出不就得了。网上百度,一大堆的示例。
      

  4.   

    http://hi.baidu.com/boneguan/blog/item/e2d712125f0a0159f819b8df.html
    照着做,就行~
      

  5.   

    http://www.oschina.net/code/snippet_106025_6662,你去看看,应该有帮助。
      

  6.   

    回答的人真多,其实简单点的自己弄
    在头那边直接加上:
    header("Content-type:application/vnd.ms-excel");
    header("Content-Disposition:filename=excel名称.xls");