Re: Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T )
| From: | Ryan A | Date: | Wed, 28 Jun 2006 16:16:47 +0000 |
| Subject: | Re: Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T ) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238807@lists.php.net to get a copy of this message | ||
> Ryan:
>
> I don't see a problem with using:
>
> 1. Turn magic_quotes OFF -- it's just a PITA anyway.
True
> 2. Then use mysql_real_escape_string() to store your
> html in the dB.
>
> 3. Then use htmlentities() to retrieve the pages.
Thanks!
Ryan
------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com