I have a cgi script that takes text from a textarea in a form and appends it to an html file to create a log file of entries. The problem I have is I lose any formatting put in place in the entry.
For instance If i entered the following into the textarea box:
1. Hello
2. World
I would get this posted to the page
1. Hello 2.World
How can I keep the formatting? Can I change something in the Textarea tag or do I have to edit the cgi-script?
Oh, I've also tried all the Wrap options of the tag and they do nothing.
For instance If i entered the following into the textarea box:
1. Hello
2. World
I would get this posted to the page
1. Hello 2.World
How can I keep the formatting? Can I change something in the Textarea tag or do I have to edit the cgi-script?
Oh, I've also tried all the Wrap options of the tag and they do nothing.