Jump to content

Creating a tabular HTML page from a text file on windows.


coolheadash

Recommended Posts

Hi.

I have used perl to generate a text file in some defined format. Now, I want this file to be displayed neatly in tabular form in a html page which would be quite helpful.. I understand that i need to use php for that, but I am totally new to it.

Can someone help?

 

My text file looks like:

 

xyz.tic

Passed : 187

Failed : 0

Timeout : 0

Crashed : 0

Total : 187

####################################

abc.tic

Passed : 24

Failed : 1

Timeout : 0

Crashed : 0

Total : 25

#################################### and so on.

in the end there is a summation of all the cases..

 

I want it in a html page which shows up data next to *.tic file in one line:

like:

*.tic: passed  failed timeout crashed total

.......................................................

....................................................... and so on...

 

Thanks.

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.