This is an archived low-energy page for bots and other anonmyous visitors.
Please sign up if you are a human and want to interact.
in reply to Re: DBI Placeholders in thread DBI Placeholders
Great comment, but what if I want to use the routine several times in the script using different variables?
qball~"I have node idea?!"
Re: Re: Re: DBI Placeholders
by astanley (Beadle) on Apr 09, 2001 at 21:16 UTC
|
simply recall the execute() function with each different variable - you are not limited to using only the listed variable - you could even do it without a variable at all as in: execute("1"); Only by putting the variable in the $sql definition do you limite yourself to having to "re-prepare" the statement for every value you want to check.
-Adam Stanley
Nethosters, Inc. | [reply] |
|