quotes within quotes within quotes oh my!
Posted: Wed Jan 12, 2005 1:49 pm
I have the following:
Notice the 4th set of quotes: size='2'
that causes problems. Even escaping the quotes with a backslash doesn't help. My html gets messed up. Any ideas?
Code: Select all
$mystring = "<img src='blah' onclick='document.formsї1].value += "<font size='2'></font>";'>";that causes problems. Even escaping the quotes with a backslash doesn't help. My html gets messed up. Any ideas?