mysql_fetch_* and stripslashes

From: Date: Wed, 26 Mar 2003 11:10:26 +0000
Subject: mysql_fetch_* and stripslashes
Groups: php.general 
Request: Send a blank email to php-general+get-141075@lists.php.net to get a copy of this message
Why is it that PHP does not automatically unescape data retrieved from a mySQL query? It seems to me that this should be the default behaviour as the bulk of what PHP web scripts do is display said data. I'm just wondering if I'm missing some command or optional argument to make this happen. As it is, I had to write an array_stripslashes routine and run every single db query I do through it. Just seems odd to me. Cheers! -- Aaron Dalton aaron@finch.st PGPKeyID# 0x65AB5571

« previous php.general (#141075) next »