Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: DBI giving user input by place holders

by john_oshea (Priest)
on Jul 12, 2006 at 15:43 UTC ( #560719=note: print w/replies, xml ) Need Help??


in reply to Re^2: DBI giving user input by place holders
in thread DBI giving user input by place holders

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://560719]
help
Chatterbox?
[pryrt]: stevieb: going thru cblast to get caught up, I see that strawberry fixed their download hashes. Fast turnaround on that fix. :-)
[pryrt]: Are you going to tie the berrybrew expected hashes to their releases.json to keep it always up-to-date?

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-03-30 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (357 votes). Check out past polls.