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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.