There's more than one way to do things | |
PerlMonks |
Re^3: DBI giving user input by place holdersby john_oshea (Priest) |
on Jul 12, 2006 at 15:43 UTC ( [id://560719]=note: print w/replies, xml ) | Need Help?? |
Assuming you want the same SQL executed, but with different values, you'll need to issue the $sth->execute(...) multiple times. You can do this either by manually repeating that line in your code, or put the line inside a loop of some sort. Hope that helps.
In Section
Seekers of Perl Wisdom
|
|