farha89 has asked for the wisdom of the Perl Monks concerning the following question:
each data has two single Name, many stages and 2 types for every stage , i.e new and old. Old and New has either true or false value as output which I am getting from some other part of the program,Name-stage-type
I have also coded the program to fill the data in a HTML file , but I am it's not working according to my requirement. Let say I want to fill the data like this :Example: tony-skill-old tony-skill-new tony-skill1-old tony-skill1-new martin-skill-old martin-skill-new
As you will see thru from above code , The Name is printed once then the Stages and then the types for each stage , in my program due to two types the loop is running twice and printing the data in two different lines for a single stage . I just need idea on how to print project name once then all the stages and their type status , every stage should be in a single line . Sorry for the bad explaination<!DOCTYPE html> <html> <body> <table style="width:300px"> <tr> <td>Name</td> <td>Stage</td> <td>Old</td> <td>New</td> </tr> <tr> <td>tony</td> <td>skill</td> <td>True</td> <td>True</td> </tr> <tr> <td></td> <td>skill1</td> <td>False</td> <td>False</td> </tr> <tr> <td>Martin</td> <td>skill</td> <td>False</td> <td>True</td> </tr> </table> </body> </html> <code> You can check this code here : <code> http://www.w3schools.com/html/tryit.asp?filename=tryhtml_table
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Filling Table in a HTML file using perl
by kcott (Archbishop) on Mar 05, 2014 at 02:11 UTC | |
|
Re: Filling Table in a HTML file using perl
by tangent (Parson) on Mar 05, 2014 at 02:18 UTC | |
by farha89 (Initiate) on Mar 05, 2014 at 12:01 UTC | |
|
Re: Filling Table in a HTML file using perl
by Anonymous Monk on Mar 05, 2014 at 15:38 UTC |