in reply to Creating Dynamic SQL statements using arrays
<code> # Fetch each row and print it
while ( my ($field1, $field2, $field3) = $sth->fetchrow_array() ) {
print STDOUT "Field 1: $field1 Field 2: $field2 Field 3: $field3\n";
} <code>
Is there any sort of a funky loop or something I could implement?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Creating Dynamic SQL statements using arrays
by broquaint (Abbot) on Jul 11, 2002 at 14:19 UTC | |
|
$sth->rows
by BorgCopyeditor (Friar) on Jul 11, 2002 at 14:20 UTC | |
|
Re: Re: Creating Dynamic SQL statements using arrays
by graff (Chancellor) on Jul 12, 2002 at 05:41 UTC |