Re: Single quotes verses double quotes default behavior with DW --------> (Pretty much 0T )
| From: | tedd | Date: | Wed, 28 Jun 2006 16:12:44 +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-238805@lists.php.net to get a copy of this message | ||
At 2:29 AM -0700 6/28/06, Ryan A wrote:
>-snip-
>
>Or if I am barking up the wrong tree and this is not
>possible (changing DWs default behavior, just tell me
>and will stop searching.
>
>Thanks!
>Ryan
Ryan:
I don't see a problem with using:
1. Turn magic_quotes OFF -- it's just a PITA anyway.
2. Then use mysql_real_escape_string() to store your html in the dB.
3. Then use htmlentities() to retrieve the pages.
It works for me.
tedd
--
------------------------------------------------------------------------------------
http://sperling.com http://ancientstones.com http://earthstones.com