Think about Loose Coupling | |
PerlMonks |
CGI && tables nested within tables.by Macphisto (Hermit) |
on Dec 28, 2000 at 23:21 UTC ( [id://48668]=perlquestion: print w/replies, xml ) | Need Help?? |
Macphisto has asked for the wisdom of the Perl Monks concerning the following question:
Monkeys, I'm trying to write a CGI that generates a dynamic table within another table also generated via CGI. I wrote a small test script to display what I want and it is posted below.
This produces:
When I attempt to change the code so the second table is created by a simple for loop like to the following:
I get:
printed to the browser window. I'm curious as to what would cause this. I have a feeling I'm just overlooking something but as of yet I have not found said "thing." As a side note: The code I am working on is Here but isn't having the same problem...instead the second table is printed first, and then the first table is printed beneath the second. If you're up for charity work you could take a look at that one as well. The code for it is posted Here System Notes Just to make sure all needed info is given this is using 5.005_03 on Linux Redhat 6.2 and tested under Apache. If more info is needed I'll post it here if it is asked for Regards, Macphisto Everyone has their demons....
Back to
Seekers of Perl Wisdom
|
|