Hi,

I assume you're using a loop to write the lines of the text file. Are you
writing out the headings of the fields prior to the data? If so solution
could be:

write "FieldName1, FieldName2, FieldName3"
loop
    write newline
    write "Field1, Field2, Field3"
next

By not writing a new line between the heading and the loop, but specifying
the new line before the data for each line, you shouldn't have a blank line
at the end.

Not sure if this will help, depends on how you are going about writing the
data out.

Cheers,
Adam



> I have a PHP script that produces a text file such as:
>
> Field1, Field2, Field3
> Field1, Field2, Field3
> Field1, Field2, Field3
> Field1, Field2, Field3
> Field1, Field2, Field3
>
>
> It always puts a blank row at the end. How can I delete that newline?
>




____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to