Hi,

Wednesday, March 26, 2003, 9:10:26 PM, you wrote:
AD> Why is it that PHP does not automatically unescape data retrieved from a
AD> mySQL query?  It seems to me that this should be the default behaviour as
AD> the bulk of what PHP web scripts do is display said data.  I'm just
AD> wondering if I'm missing some command or optional argument to make this
AD> happen.  As it is, I had to write an array_stripslashes routine and run
AD> every single db query I do through it.  Just seems odd to me.

AD> Cheers!

AD> -- 
AD> Aaron Dalton
AD> [EMAIL PROTECTED]
AD> PGPKeyID# 0x65AB5571


Sounds like your doing addslashes twice before storing the data.
or magic_quotes_runtime is set on in your php.ini

-- 
regards,
Tom


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

Reply via email to