RE: [PHP] PHP, Excel, and tab delimited files question

2004-02-09 Thread jon roig
06, 2004 5:15 PM To: jon roig Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PHP, Excel, and tab delimited files question jon roig wrote: Nah... Try it in excel itself and you'll see what I'm talking about. You have to do it in numeric fields. Do this in an excel field: - Type 10 and hit

RE: [PHP] PHP, Excel, and tab delimited files question

2004-02-09 Thread Jay Blanchard
[snip] Right... But the principal is still the same. Excel handles those types of fields in a uniform way, regardless of whether you do the entry yourself or if you just import a csv file. [/snip] Actually that is not correct. We have prefaced the data with the single quote in the output process

RE: [PHP] PHP, Excel, and tab delimited files question

2004-02-09 Thread Robert Sossomon
It may wind up being a user-learning issue. I dump things to pipe delimited file (whether in *nix land or winDoze) and that way the users can open it in Excel. The ones who have to open the files I just go to their desks the first time and show them how to open the file, delimit it on the | and

RE: [PHP] PHP, Excel, and tab delimited files question

2004-02-06 Thread jon roig
Don't do it in the header, but in the field itself just put a ' before the first character and excel will interpret it as a text field. -- jon --- jon roig web developer email: [EMAIL PROTECTED] phone: 888.230.7557 -Original Message- From: Jay Blanchard

RE: [PHP] PHP, Excel, and tab delimited files question

2004-02-06 Thread Jay Blanchard
[snip] Don't do it in the header, but in the field itself just put a ' before the first character and excel will interpret it as a text field. [/snip] Tried that, the ' shows up. Don't want that to happen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP, Excel, and tab delimited files question

2004-02-06 Thread Marek Kilimajer
Do double quotes around help? Jay Blanchard wrote: [snip] Don't do it in the header, but in the field itself just put a ' before the first character and excel will interpret it as a text field. [/snip] Tried that, the ' shows up. Don't want that to happen -- PHP General Mailing List

RE: [PHP] PHP, Excel, and tab delimited files question

2004-02-06 Thread jon roig
: Friday, February 06, 2004 3:02 PM To: Jay Blanchard Cc: jon roig; [EMAIL PROTECTED] Subject: Re: [PHP] PHP, Excel, and tab delimited files question Do double quotes around help? Jay Blanchard wrote: [snip] Don't do it in the header, but in the field itself just put a ' before the first character

Re: [PHP] PHP, Excel, and tab delimited files question

2004-02-06 Thread Marek Kilimajer
jon roig wrote: Nah... Try it in excel itself and you'll see what I'm talking about. You have to do it in numeric fields. Do this in an excel field: - Type 10 and hit return. ... It becomes 10, right? Now try it like this: '000100 ... Tada! It stays as 00100 and puts a little green tab in the