Re: Is there PHP mysql_real_escape_string for postgresql?

From: Erik Jones <erik(at)myemma(dot)com>
To: dterrors(at)hotmail(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Is there PHP mysql_real_escape_string for postgresql?
Date: 2007-12-20 15:32:33
Message-ID: EBFD707F-4799-4CF1-98CD-DFCE0A32B775@myemma.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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.

Erik Jones

Software Developer | Emma®
erik(at)myemma(dot)com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gordon 2007-12-20 15:35:49 Re: Postgres from PHP in Leopard
Previous Message Ivan Sergio Borgonovo 2007-12-20 14:50:11 Re: referential integrity and defaults, DB design or trick