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

i want to insert more rows in my table. i am not able to do with the above coding. Can you please suggest how to do that.
  • Comment on Re^2: DBI giving user input by place holders

Replies are listed 'Best First'.
Re^3: DBI giving user input by place holders
by john_oshea (Priest) on Jul 12, 2006 at 15:43 UTC

    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.