Jun 1, 2010 at 8:20am
Hello friends,
I need to convert a csv file into html page in a table format.
Can anyone help me?
Thanks in advance.
Jun 1, 2010 at 9:29am
Write a program to parse the csv, then write the data with html tags.
Note: HTML is just a text file
Jun 1, 2010 at 10:07am
First of all find out the format of each and then see what needs to change between the CSV and the HTML.
Writing out a small example can be helpful in this:
CSV:
A, B, C
D, E, F
HTML:
<table>
<tr><td>A</td><td>B</td><td>C</td></tr>
<tr><td>D</td><td>E</td><td>F</td></tr>
</table>
Last edited on Jun 1, 2010 at 10:08am
Jun 1, 2010 at 3:05pm
Hi friends,
thanks for the replies. They helped me.
Regards.