note 14033 added to function.mysql-query.php
| From: | les at fo2k dot com | Date: | Sat, 14 Jul 2001 02:59:03 +0000 |
| Subject: | note 14033 added to function.mysql-query.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15364@lists.php.net to get a copy of this message | ||
Lately I have seen an oddity in PHP4's version of mysql_query(). After discovering that
msyql_query would escape special characters automatically, I removed the addslashes() from my code,
only to discover that a couple of months later, it has reverted to its original function of not
escaping special characters. I recommend testing this behavior first before implementing.
http://www.php.net/manual/en/function.mysql-query.php