mysql_escape_string() vs addslashes()...
| From: | Scott Fletcher | Date: | Thu, 01 Jul 2004 13:32:13 +0000 |
| Subject: | mysql_escape_string() vs addslashes()... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-189453@lists.php.net to get a copy of this message | ||
> > I would argue that something like mysql_escape_string() is better than
> > addslashes(), so I agree with you for the most part anyway. :-) It all
> > depends on what database is being used and how.
Starting a new topic since the related-topic lists got too long. So, run
that again about what you meant by that and why??? Also, noticed that
mysql_esacpe_string() is an alias of mysql_real_escape_string, is that
right???
Scott F.