in few words I wish this behaviour: I scan a log file to match the first param of the form. for each entry that match I print a table eg 4x4 where only the first field is printed out(the hostname for example), the other 9 are empty and then I print a row of submit bottons for some commands (Ping, Find..) and finally a break line.
I want that if u clik the botton Ping of the second table for example, u pass the first field value to a sub that ping the host and print out the second field of the table and so on. In the question
I have tried to explain my problem and now I'm exploring the precious answer of Ben whith some strange behaviour..