note 54882 deleted from function.pg-escape-string by betz
| From: | betz@php.net | Date: | Sun, 15 Jan 2006 21:31:34 +0000 |
| Subject: | note 54882 deleted from function.pg-escape-string by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-101870@lists.php.net to get a copy of this message | ||
Note Submitter: rich at dicksonlife dot com
----
For escaping an array...
Double quotes need to be escaped for each string value. Then escaping backslash needs to be escaped
when it becomes a string literal.
abc
d"f
g'i
As an array is represented as
'{"abc","d\\"f","g\'i"}'
It would be nice to have a built-in function for this one day.