On 29 Jul 2003 19:08:23 +0100 Dan Rowles <[EMAIL PROTECTED]> wrote:

> My problem is that I have a large code-base already installed that uses
> the "$sth->execute(@args)" way of parsing in placeholder values. This
> used to work fine. To go through and change all of these methods to do a
> "$sth->bind_param(n, $val, SQL_INTEGER)" is a lot of work!

You don't have to do it for all statements or for all parameters even
in the statements where it is necessary.  Add it after the prepare()
call for just the placeholders that need the hint.

-- 
Mac :})
** I usually forward private questions to the appropriate mail list. **
Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.

Reply via email to