addslashes()
| From: | Todd Williamsen | Date: | Thu, 07 Feb 2002 22:32:38 +0000 |
| Subject: | addslashes() | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16640@lists.php.net to get a copy of this message | ||
I have a "Notes" field where users can add notes. Now, there will be times
when they use quotes "" or maybe even HTML, what is the correct way of using
this function?
I have tried:
addslashes($Notes);
and
$Notes addslashes($Notes);
neither work..
I thought I would ask this great newsgroup!
Thanks