> Has anybody written a 'proper escaping function' in php, something along > the lines of addslashes()?
It has been around for ages: http://php.net/pg_escape_string
-- Postgresql & php tutorialshttp://www.designmagick.com/