note 99649 deleted from security.magicquotes.whynot by danbrown
| From: | danbrown@php.net | Date: | Sat, 28 Aug 2010 15:17:22 +0000 |
| Subject: | note 99649 deleted from security.magicquotes.whynot by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-172136@lists.php.net to get a copy of this message | ||
Note Submitter: Ray.Paseur sometimes uses Gmail
----
Instead of addslashes() you almost certainly want to use the DBMS-specific escape string, something
like mysql_real_escape_string(). See the note on the addslashes() page here:
http://www.php.net/manual/en/function.addslashes.php