Login Register Actian.com  

Actian Community Wiki

Navigation
Learn About
Developing With
Ingres Talk
Information
Toolbox

PHP/Projects/Escape Characters

From Ingres Community Wiki

< PHP | Projects(Redirected from PHP escape characters)
Jump to: navigation, search

Introduction

Certain character values need to be escaped or changed before being used with ingres_query(). For example the following query will fail due to the apostrophe:

 select * from users where surname = 'O'Connor'

A new function, ingres_escape_string(), is needed to parse a string replacing known problem characters with safe equivalents.

Project Profile

Admins Grant Croker
Sponsor Grant Croker
Developers
Development Status Discussion
Intended Audience Developers
License PHP License 3.0
Operating System(s) 32-bit MS Windows (NT/2000/XP/Vista), Solaris, Linux, HP-UX, IBM AIX
Programming Language(s) Primarily in C, with some PHP for writing tests
Topic(s) Ingres, PHP
Registered 15-Jan-2008
Personal tools
© 2011 Actian Corporation. All Rights Reserved