/ Published in: PHP

This is saved from Gerhard Slettens weblog www.gersh.no. I just want yo keep it on snipplr so it easily can be fetched through textmate.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php print "\n"; // Add a line, unless excel error.. ?> <table border="1"> <tr> <th>header 1</th> <th>header 2</th> </tr> <tr> <td>data 1</td> <td>data 2 - nordic letters æ, æ, å</td> </tr> </table>
URL: http://www.gersh.no/posts/view/easy-excel-export-from-php
Comments
