note 102373 rejected from function.addslashes by danbrown

From: Date: Thu, 10 Feb 2011 20:28:06 +0000
Subject: note 102373 rejected from function.addslashes by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-176876@lists.php.net to get a copy of this message
Note Submitter: st dot todorov9 at gmail dot com ---- I want to insert into db for example $a= 'qwe"qwe"qwe'; $a = addslashes($a); But when I insert $a in my db i see qwe"qwe"qwe i want to be qwe\"qwe\"qwe can you tell me how to do that

« previous php.notes (#176876) next »