This is a discussion on Re: storing quotes into a variable within the PHP General forums, part of the PHP Programming Forums category; I think you just have to escape every double quote that you want to be a part of the HTML ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |