Just in case it's not clear to you, the "placeholders" are the question
marks in the VALUES part of the sql  ;-)

>>> "Ronald J Kimball" <[EMAIL PROTECTED]> 3/31/2005 2:36 PM >>>
Ron Stephan [mailto:[EMAIL PROTECTED] wrote: 

> Placeholders?
> 
> Like how?

Here's a quick example:

my $sth = $dbh->prepare(<<"EndOfSQL");
  INSERT INTO mytable
    (col1, col2)
  VALUES
    (?, ?)
EndOfSQL

$sth->execute($val1, $val2);

The DBI documentation has more details.


Ronald


Reply via email to