|
Posted by Peter J. Holzer on 03/15/07 18:54
On 2007-03-15 11:00, Jamie <nospam@geniegate.com> wrote:
> Seems to me, perl DBI is a bit more intuitive. Last time I looked,
> php didn't really have placeholders (well, it did, depending on which
> version of php was available where)
>
> This was awhile ago, but.. in mysql, placeholders didn't help much.
That depends on what they should help you with. They always help making
your code more robust and secure. "SQL injection" just isn't an issue
if you use placeholders. They may or may not help improving performance.
(Recent versions of MySQL do support placeholders, BTW, and DBD::mysql
can use them (the default is still to interpolate them in the DBD)).
hp
--
_ | Peter J. Holzer | Blaming Perl for the inability of programmers
|_|_) | Sysadmin WSR | to write clearly is like blaming English for
| | | hjp@hjp.at | the circumlocutions of bureaucrats.
__/ | http://www.hjp.at/ | -- Charlton Wilbur in clpm
[Back to original message]
|