Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Is there PHP mysql_real_escape_string for postgresql?



On Dec 17, 2007 9:37 PM,  <dterrors(at)hotmail(dot)com> wrote:
> In php is there a postgresql version of mysql_real_escape_string() ?

There is (mentioned upthread), but if you are writing C vs. libpq you
may want to take a look a the parameterized interface.  It's a little
raw but parameterized queries do not have to escaped.

see: PQexecParams

merlin



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group