Req #39069 [Opn->Bgs]: Automatic Strip Slashes on MYSQL Retrieval

From: Date: Wed, 22 Dec 2010 12:02:10 +0000
Subject: Req #39069 [Opn->Bgs]: Automatic Strip Slashes on MYSQL Retrieval
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157221@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=39069&edit=1 ID: 39069 Updated by: johannes@php.net Reported by: tlagard at indianakappa dot com Summary: Automatic Strip Slashes on MYSQL Retrieval -Status: Open +Status: Bogus Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues PHP Version: 5.1.6 Block user comment: N Private report: N New Comment: All our magic handling of quoting proved to be more troublesome than it helps, we won't extend it. Previous Comments: ------------------------------------------------------------------------ [2006-10-06 20:14:54] tlagard at indianakappa dot com Description: ------------ When I retrieve something from MySQL, I would like to use something like this: mysql_fetch_assoc($result, {FLAG HERE}) where the {FLAG_HERE} allows me to tell it to strip the slashes out automatically or not when it puts the data into the array. Hopefully this make sense. Thanks Tom ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=39069&edit=1

« previous php.bugs (#157221) next »