Spidy has asked for the wisdom of the Perl Monks concerning the following question:
$sth= $dbh->prepare( "SELECT * FROM user_items WHERE indexnum = $valu +e"); $sth->execute(); $sth->bind_col( 2, \$val1); $sth->bind_col( 3, \$val2); $sth->bind_col( 4, \$val3); while($sth->fetch) { print "$val1, $val2, $val3\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI/MySQL question.
by Zaxo (Archbishop) on Jul 21, 2005 at 02:51 UTC | |
by Spidy (Chaplain) on Jul 21, 2005 at 04:27 UTC | |
|
Re: DBI/MySQL question.
by CountZero (Bishop) on Jul 21, 2005 at 19:38 UTC |