Jump to content

single quotes, javascript & echo problems


doa24uk

Recommended Posts

Hi all,

Ok heres the code -->

[code]
echo '<center>*New* - Click here to watch <a href="http://www.lazyrecords.co.uk/webtv.html" onclick="window.open('http://www.lazyrecords.co.uk/webtv.html','Radio','height=400,width=380'); return false;"><b>LazyTV Now!</b></a><br><br></center>';[/code]

Obviously the single quotes are getting parsed wrong and its throwing errors. I've tried esaping them with \ but it still won't work.

Is there anyway to do this??

Thanks in advance for the help!


Adam
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.