in reply to DBI Placeholders

I've tried both suggestions and continue to get the same error:
execute called with 1 bind variables when 0 are needed
What does this mean?

qball~"I have node idea?!"

Replies are listed 'Best First'.
Re: Re: DBI Placeholders
by astanley (Beadle) on Apr 10, 2001 at 01:42 UTC
    In your $sql definition make sure you have not quoted the ?. It should look like this: select ... from ... where ... = ?

    -Adam Stanley
    Nethosters, Inc.