Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$query = 'select date, run_time, run_dis, num_push, num_sit, abs, comm +ent, workout_id, scored from "cshaws_Schema"."log2" where pid = ' . $ +pid . ' order by date'; $sth = $dbh->prepare($query); $sth->execute($query); $sth->bind_columns(\$dates, \$run_time, \$run_dis, \$num_push, \$num_s +it, \$abs, \$comment, \$workout_id, \$scored ); while($sth->fetch()) { processes }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBI Bind Columns
by dragonchild (Archbishop) on Apr 22, 2004 at 17:40 UTC | |
|
Re: DBI Bind Columns
by DamnDirtyApe (Curate) on Apr 22, 2004 at 17:34 UTC | |
|
Re: DBI Bind Columns
by disciple (Pilgrim) on Apr 22, 2004 at 18:14 UTC | |
|
Re: DBI Bind Columns
by Anonymous Monk on Apr 22, 2004 at 17:49 UTC | |
|
Re: DBI Bind Columns
by asdfgroup (Beadle) on Apr 23, 2004 at 00:03 UTC | |
|
Re: DBI Bind Columns
by Anonymous Monk on Feb 23, 2016 at 02:58 UTC | |
by Tanktalus (Canon) on Feb 23, 2016 at 04:11 UTC |