Jump to content

Formatting of a .txt file output from a web form.


chris_uK_83

Recommended Posts

Does anyone know how I can force new lines to happen in a .txt file that stores the results of a webform that a user inputs? As it stands I've tried using <br/> and /n tags but they just print to the file and all the text runs on. Also, every time data is appended to the .txt file it appears on the same line. This is irritating. Can anyone help?

What I'm after is a way to get the program to format the text nicely in the .txt file, not the other way round. I want to be able to read the .txt file without having to interpret it with some more code.

 

I'll try that method, but I'm not sure it's what I'm after.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.