Re: [PHP-DB] Do You Need addslashes() When Using Bind Variables

2004-11-10 Thread Simon Rees
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  |  [EMAIL PROTECTED]  |
ORA-03113: end-of-file on communication channel
~~

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] Do You Need addslashes() When Using Bind Variables

2004-11-09 Thread Francis Chang
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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php