On Sat, Jun 7, 2008 at 12:57 PM, Ed Murphy <[EMAIL PROTECTED]> wrote: > I missed a piece of the web-based "record decision" form. It's since > been fixed. As has the single-quote bug; PHP is apparently escaping > quotes on its own, but not how PostgreSQL wants, so I'm doing > pg_escape_string(ereg_replace("\\\'", "'", $s)) > (let me know if this is wrong somehow, but at least the results look > correct when queried).
Just turn off magic_quotes_gpc and PHP will stop escaping quotes for you.