Re: Is there PHP mysql_real_escape_string for postgresql? - Mailing list pgsql-general

From Bill Moran
Subject Re: Is there PHP mysql_real_escape_string for postgresql?
Date
Msg-id 20071220104611.3ff607ca.wmoran@potentialtech.com
Whole thread Raw
In response to Re: Is there PHP mysql_real_escape_string for postgresql?  (Erik Jones <erik@myemma.com>)
Responses Re: Is there PHP mysql_real_escape_string for postgresql?
Re: Is there PHP mysql_real_escape_string for postgresql?
Re: Is there PHP mysql_real_escape_string for postgresql?
List pgsql-general
In response to Erik Jones <erik@myemma.com>:

>
> On Dec 17, 2007, at 8:37 PM, dterrors@hotmail.com wrote:
>
> > In php is there a postgresql version of mysql_real_escape_string() ?
>
> You have both pg_escape_string and pg_escape_bytea available.

Is there a mysql_fake_escape_string()?  Should PostgreSQL have a
pg_pretend_to_escape_string() that effectively does nothing?

--
Bill Moran
http://www.potentialtech.com

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Postgres from PHP in Leopard
Next
From: Richard Huxton
Date:
Subject: Re: foreign key constraint, planner ignore index.