BluGeni has asked for the wisdom of the Perl Monks concerning the following question:
ect.. ect.. what i want it to do is to make @data = to $STH1 or $STH2 or $STH3 ect ect without creating a sub write for every table for each $STH. thanks for any help i greatly appreciate it!sub write1 { while ( @data=$STH1->fetchrow_array() ) { print "<CENTER>"; print "<TR>"; print "<TD BGCOLOR='red'>"; print "<P ALIGN='CENTER'>"; print "<FONT COLOR='white'>";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: multiple conditions while loop
by kennethk (Abbot) on May 17, 2012 at 15:45 UTC | |
|
Re: multiple conditions while loop
by locked_user sundialsvc4 (Abbot) on May 17, 2012 at 21:02 UTC | |
|
Re: multiple conditions while loop
by diddy_perl (Novice) on May 17, 2012 at 15:21 UTC |