I have an excel sheet that I saved as a tab delimited file. When I upload the
file the output comes out unformated.
Instead of being lined up (like its saved)
a
b
c
it comes out in a row a b c d e g
I''ve also tried saving it has a csv but for some reason it throws an error
then I tried to upload it as an excel sheet and it throws in
error.
My mistake maybe very minor but I can't figure it out
the output is <cfoutput>#tester#</cfouput> Do I need to place anything
around my output so it will come out in the correct format>>
Not Nick - 31 Mar 2006 02:47 GMT
You mean that the content in the file becomes unformated in the browser?
The formatting from the text file will not render in a browser normally, there
is no <TAB> tag for instance and the chr(10) linefeed does not have any effect
in a browser since it is looking for a <br> telling it to make a new line.
BUT.
You can see the original formatting by using the <PRE> tag:
<cfoutput><pre>#tester#</pre></cfouput>
That should render spaces, tabs and linefeeds as it is in thext file.
rere - 31 Mar 2006 21:33 GMT