newbie question: what to quote in memofield to use it in an insert?
| From: | Dries Verachtert | Date: | Tue, 08 Aug 2000 09:58:33 +0000 |
| Subject: | newbie question: what to quote in memofield to use it in an insert? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1846@lists.php.net to get a copy of this message | ||
Hello,
When i want to insert or update userinput with an sql statement in a
database, which characters do i have to quote and how do i have to do this
in php4 ?
For example when a string with the character ' has to be inserted in a clob
field, it has to be quoted in some way, because the character is also used
in the sql syntax.
Anyone who knows a nice website with more information or a nice function
which does this stuff for me?
Used software: php4-200008070745, apache_1.3.12, oracle 8i 8.1.6.0
Thanks in advance,
Dries Verachtert