in reply to
Re^2: How to convert a text file to a HTML file
in thread How to convert a text file to a HTML file
Thanks for your input. Now let me re-iterate my problem this way. Suppose I have simple a.txt(pasted below) file in my desktop. When I open that file on the browser by giving the unix path/windows path ...it comes in proper order and indentation.
But when I am reading this file in a string and inserting the string in a database column and later on using cgi perl printing it on the webpage , it gets messed up.
What magic is happening when I do print $htmldata in my cgi perl code so that it destroys the order and indentation of the text ?
But it is coming as :
name phone xyz 123 abc 890