Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2015-07-07 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls