Re: storing quotes into a variable
| From: | Rex Brooks | Date: | Thu, 11 Sep 2003 15:50:41 +0000 |
| Subject: | Re: storing quotes into a variable | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-162311@lists.php.net to get a copy of this message | ||
I think you just have to escape every double quote that you want to be a
part of the HTML code like this --> /"
That should work. I dont think you have to escape the single quotes, but I
could be wrong.
"Doug Parker" <drparker@phreshdesign.com> wrote in message
news:20030911154350.38894.qmail@pb1.pair.com...
> isn't there a function that allows me to store a string with a bunch of
> quotes in it (like an html tag) into a variable?
>
> for example, i need something like: $perf_mod = <a href="#"
> onclick="popWindow('popup.php')">
>
> thanks...
>
> --
>
>
>
> ------------------------------------------------------------
> http://www.phreshdesign.com