in reply to References of Eternal Peril
Update: Yeah, there's really no big benefit to doing it this way. :)my %columns; # stuff here $sth->bind_columns( map { \${ $columns{$_} } @{ $sth->{NAME_lc} } ) || die("unable to bind columns: ", $sth->errstr); # dereference somehow, may not be correct while($sth->fetch) { print "<tr><td>$name</td><td>$columns{price}</td></tr>\n"; print "<tr><td colspan=\"2\">$columns{description}</td></tr>\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: References of Eternal Peril
by mwp (Hermit) on Aug 11, 2000 at 05:07 UTC |