i tried it out... and it almost works like I want it... weird though
1. when I put in <p><font color="blue">this is BLUE</p></font>
it prints it in like a bright green. but if i use the RGB # then its fine.
2. if there is an apostrophe in the notes, then it will add slashes it to
that as well
so if I type blah blah blah I am going over to my friend's website later on
and here is the address...
it will look like
"Acealex" <[EMAIL PROTECTED]> wrote in message
> $Notes = addslashes($Notes);
> You where almost right :)
> ----- Original Message -----
> From: "Todd Williamsen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 07, 2002 11:32 PM
> Subject: [PHP-DB] addslashes()
> > I have a "Notes" field where users can add notes. Now, there will be
> > when they use quotes "" or maybe even HTML, what is the correct way of
> > this function?
> > I have tried:
> > addslashes($Notes);
> > and
> > $Notes addslashes($Notes);
> > neither work..
> > I thought I would ask this great newsgroup!
> > Thanks
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php