Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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

Replies are listed 'Best First'.
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 exploiting the Monastery: (4)
As of 2016-10-01 20:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.