in reply to DBI Bind Variables and Functions

Maybe I'm missing something...

$sth = $dbi->prepare("cscartridge.mc(table,?,'','full=yes')=1")

-Paul

Replies are listed 'Best First'.
Re^2: DBI Bind Variables and Functions
by joec_ (Scribe) on Nov 10, 2008 at 13:22 UTC
    if i just use the ? on its own, which i know is how its supposed to be done, will the question mark automatically put quotes around the string that is passed in as a bind variable?
      It's passed separately, but you can act as if quotes were put around it, and as if it were escaped properly.
Re^2: DBI Bind Variables and Functions
by joec_ (Scribe) on Nov 10, 2008 at 13:25 UTC
    forgive me, but the code that Paul suggested worked! thanks.