Do You Need addslashes() When Using Bind Variables
| From: | Francis Chang | Date: | Wed, 10 Nov 2004 05:45:21 +0000 |
| Subject: | Do You Need addslashes() When Using Bind Variables | ||
| Groups: | php.db php.general | ||
| Request: | Send a blank email to php-db+get-37216@lists.php.net to get a copy of this message | ||
Hi,
I'm using the Oracle database though I think this question is generic to all
databases.
If you're using bind variables and preparing the SQL statements ahead of
time, do you still need to call addslashes() before binding the strings to
the bind variables?
Thanks in advance.
Francis