myOtherHandle
Programmer
Hi.
I have a variable: var html;
I need to put some HTML formatted text into that variable using PHP.
So: var html = '".somephpvariable."';
The problem is that the HTML from the php isn't on one line so I get an error saying that the string isn't terminated...
How can I get this to work?
I have a variable: var html;
I need to put some HTML formatted text into that variable using PHP.
So: var html = '".somephpvariable."';
The problem is that the HTML from the php isn't on one line so I get an error saying that the string isn't terminated...
How can I get this to work?