On Fri, May 18, 2001 at 01:56:29PM -0400, Ilia Lobsanov wrote:
> the SQL way to escape ' is to use ''.
> The preferred DBI way to escape things is to always use placeholders.
> See perldoc DBI... or checkout DBIx::AbstractLite as an easier DBI alternative ala 
>$DB->query('SELECT * FROM foo WHERE bar = ?', $bar);

Also see the quote() function on the DBI documentation.

- Barrie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to