Welcome Guest, Not a member yet? Register   Sign In
Output & in MS-excel using PHP
#6

[eluser]thePiet[/eluser]
Well, I haven't got any experience with this kind of exporting to Excel, I always echo a plain HTML table to some file and give it a .xls extension.

Something like

Code:
<table>
<tr>
<td>Hello</td>
<td>World</td>
</tr>
</table>

Saved as a .xls file is displayed perfectly in Excel.

But again, your problem is other characters than alphanumeric, because of the headers. A plain "&"-sign is simply recognized as a field name in headers.

Good luck,

thePiet


Messages In This Thread
Output & in MS-excel using PHP - by El Forum - 07-10-2009, 08:12 AM
Output & in MS-excel using PHP - by El Forum - 07-10-2009, 08:39 AM
Output & in MS-excel using PHP - by El Forum - 07-10-2009, 08:49 AM
Output & in MS-excel using PHP - by El Forum - 07-10-2009, 08:53 AM
Output & in MS-excel using PHP - by El Forum - 07-10-2009, 09:04 AM
Output & in MS-excel using PHP - by El Forum - 07-10-2009, 09:16 AM
Output & in MS-excel using PHP - by El Forum - 07-11-2009, 09:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB