On Dec 20, 2007, at 9:46 AM, Bill Moran wrote:

In response to Erik Jones <[EMAIL PROTECTED]>:


On Dec 17, 2007, at 8:37 PM, [EMAIL PROTECTED] 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?

Good one :-)

Erik Jones

Software Developer | Emma®
[EMAIL PROTECTED]
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



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to