Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: how to use place holders?

by Enlil (Parson)
on Aug 03, 2005 at 19:42 UTC ( #480625=note: print w/ replies, xml ) Need Help??


in reply to how to use place holders?

You need to pass some arguments to execute: That is:

$INSERT_CURSOR->execute();
Should be:
$INSERT_CURSOR->execute($some_var,$some_other_var);
As you have two place holders but in your $INSERT_CURSOR but no variables bound to them when you call execute it. Note that in the above the variables $some_var, and $some_other_var relate to the two ? in your statement. Have a look at: The DBI Documention on Placeholders

-enlil


Comment on Re: how to use place holders?
Select or Download Code
Re^2: how to use place holders?
by Anonymous Monk on Aug 03, 2005 at 21:14 UTC
    Thank you! It worked! thanks......

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://480625]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2014-09-01 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (7 votes), past polls