Re: Is there PHP mysql_real_escape_string for postgresql?

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Is there PHP mysql_real_escape_string for postgresql?
Date: 2007-12-20 15:46:11
Message-ID: 20071220104611.3ff607ca.wmoran@potentialtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In response to Erik Jones <erik(at)myemma(dot)com>:

>
> On Dec 17, 2007, at 8:37 PM, dterrors(at)hotmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message T.J. Adami 2007-12-20 15:54:16 Re: to realise the dark side of Microsoft SQL Server...?
Previous Message Richard Huxton 2007-12-20 15:42:21 Re: Postgres from PHP in Leopard