in reply to Re: Re: Re: Re: dbi style questions (code, discussion)
in thread dbi style questions (code, discussion)
If you use placeholders similar to this or like in the insert_hash() example
Yes, placeholders work, but I consider them worse than manually quoting what needs to be quoted. There's no benefit to doing a single prepare then feeding in parameters to the $sth when you only do a given query once, and Manually quoting the right values also acts as a reminder to think about them - and things like input validation.
I guess what I'm saying is that there's really a limit to what can be done profitably through automation, at least in this case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 6: dbi style questions (code, discussion)
by tilly (Archbishop) on Jan 06, 2002 at 06:20 UTC | |
|
Re: Re: Re: Re: Re: Re: dbi style questions (code, discussion)
by runrig (Abbot) on Jan 02, 2002 at 00:18 UTC | |
by edebill (Scribe) on Jan 02, 2002 at 00:45 UTC |