On Tue, Oct 15, 2002 at 11:44:54AM -0700, Hastie, Christa wrote:
> Hello!
> I bet there is some really simple DBI function/reg ex that delimits the
> apostrophes like such (\') so data can be inserted into the db without
> errors.

$dbh->quote($str);

Alternatively, you can use placeholders, which quote the values
automatically.  See the DBI documentation for more info.

Ronald

Reply via email to