Introduction: This is a detailed page of PHP Excel export method. It introduces PHP related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 337300 'scrolling = 'no'> use a tab or line break
The Tab character "\ t" is used to separate columns in the same row. The line break "\ t \ n" can be used to open the next row.
<? PHP header ("Content-Type: Application/vnd. MS-execl); header ("content-Disposition: attachment; filename=myexcel.xls"); header ("Pragma: No-Cache"); header ("expires: 0 ″); /* First line */echo "hello ". "\ t"; echo "World ". "\ t"; echo "\ t \ n";/* Start of second line */ECHO "this is second line ". "\ t"; echo "Hi, pretty girl ". "\ t"; echo "\ t \ n";?>
Love J2EE follow Java Michael Jackson video station JSON online tools
Http://biancheng.dnbcw.info/php/337300.html pageno: 9.