Jump to content

[SOLVED] echoing javascript in a PHP script


poleposters

Recommended Posts

I have a piece of javascript

 

<a href="page.html" target="popup"
  onClick="wopen('page.html', 'popup', 300, 200); return false;">

 

But I want to echo it in my PHP script but am having trouble working out how to preserve the codes quotation marks when I echo it within quotation marks.

 

Can someone please help?

Archived

This topic is now archived and is 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.