RE: [PHP] mysql_escape_string is deprecated?
| From: | John W. Holmes | Date: | Fri, 27 Dec 2002 21:01:13 +0000 |
| Subject: | RE: [PHP] mysql_escape_string is deprecated? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-129471@lists.php.net to get a copy of this message | ||
> I was looking at the PHP 4.3 changelog, and it said that
> mysql_escape_string is deprecated. Is this true, and if so, what
should
> I be using instead?
Probably addslashes() or magic_quotes_gpc...
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/