Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: how to use place holders?

by Enlil (Parson)
on Aug 03, 2005 at 19:42 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://480625]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-20 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found