in reply to Reading data from a document.txt
Obviously, your program doesn't work because it doesn't do what you intended it to do. That's all I can say without you providing more details, as other monks have explained to you already.
You say 'So far no problem' right after your description of the program that writes to DATA.TXT, so I could assume the data in that file looks good, right? Then you'll need to adapt your file-reading, data-displaying program to display the data correctly.
Alternatively, you could change your userdata-reading program so that it appends directly to an HTML file, which can be displayed by a browser directly, without needing to go through a second translation. It's easier, and since you sound pretty new to programming, a challenge better suited to you.
Lur: "But if this cape shrinks, consider your species extinct!"