If you're getting any result at all look at your page source, messed up HTML is easy to pick out there.
When you have a string of HTML it ought to be enclosed in single quotes -- that way all the double quotes around attribute values don't need to be escaped.
Why do you have \n at the end of so many strings? Do you want line breaks? I have no idea what those will do.
|