From:             [EMAIL PROTECTED]
Operating system: all
PHP version:      4.1.2
PHP Bug Type:     Feature/Change Request
Bug description:  a new format char for sprintf kind function

i've ask ppl in irc EFnet #php.
none of them like runtime magic quote.
so.......

i would like to have the following feature:

-> sprintf("%S", $string);

which is the same function as addslashes($string);

and i can do as the following:

-> mysql_query(sprintf("UPDATE mytable SET abc='%S'", $string));


i think this would make a great change to those php-sql scripts
-- 
Edit bug report at http://bugs.php.net/?id=15881&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15881&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15881&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15881&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15881&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15881&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15881&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15881&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15881&r=submittedtwice

Reply via email to