Instead of the comma-separated suggestions mentioned in other posts, I'd
recommend using a tab-separated file so that you don't have any confusion
for entries such as addresses that might look like "Seattle, WA". The
other reason is that it's *really* hard to enter a TAB in an HTML form so
it's just nicer.
The other thing to look out for is TEXTAREA inputs where people have
entered newlines. You'll need to convert those back to spaces before
exporting otherwise the file won't be one record per line.
On Fri, 13 Jul 2001, Jorge Alvarez wrote:
> One of my clients is requesting me to export some data from PHP-generated
> pages to MS Excel files. I have no clue on how to do such export with PHP.
> I'm using PHP/Apache/Linux Mandrake.
>
> What options do I have?
>
> Your help is very appreciated.
>
> Regards,
>
> Jorge Alvarez
> --
> Let your screen saver contribute to cancer research.
> http://members.ud.com/vypc/cancer/
> A new way to help. Sponsored by Intel.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]