Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
$sth = $dbh->prepare("SELECT `name`, `number` FROM ?"); for ($i = 0; $i < 5; ++$i) { $sth->execute($tableNames[$i]); ($name, $number) = $sth->fetchrow_array(); process_data(); #etc. }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mySQL non-string bind variable
by wfsp (Abbot) on Oct 12, 2006 at 07:55 UTC | |
|
Re: mySQL non-string bind variable
by Koosemose (Pilgrim) on Oct 12, 2006 at 06:40 UTC | |
|
Re: mySQL non-string bind variable
by graff (Chancellor) on Oct 12, 2006 at 12:20 UTC | |
|
Re: mySQL non-string bind variable
by laceytech (Pilgrim) on Oct 12, 2006 at 07:32 UTC |