"Arpad Tamas" <[EMAIL PROTECTED]> wrote:
> I think stripslashes() isn't needed when retrieving data from the db,
> it is needed only in the query string to protect special chars from
> interpretting them as sql.

I want to say this isn't true, but maybe that depends on the configuration
of PHP (I'm thinking magic quotes settings off-hand).  From experience I
know that stripslashes() can be needed when retrieving data from a db.  Just
today I've had to do so for clients separately using PostgreSQL and MySQL.
YMMV.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to