Re: Do You Need addslashes() When Using Bind Variables
| From: | Simon Rees | Date: | Wed, 10 Nov 2004 12:12:31 +0000 |
| Subject: | Re: Do You Need addslashes() When Using Bind Variables | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-general+get-201656@lists.php.net to get a copy of this message | ||
Hi Francis
No. Thats one of the great things about bind variables.
cheers Simon
On Wednesday 10 November 2004 05:45, Francis Chang wrote:
> 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
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simon Rees | srees@nildram.co.uk |
ORA-03113: end-of-file on communication channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~