squiblo Posted February 11, 2010 Share Posted February 11, 2010 this doesnt work.. $option = "<span id='foo' onclick=\"Delay('foo');\">Add as friend</span>"; and niether does this $option = "<span id='foo' onclick='Delay('foo')'>Add as friend</span>"; any other options? Link to comment https://forums.phpfreaks.com/topic/191708-quotes-problem/ Share on other sites More sharing options...
schilly Posted February 11, 2010 Share Posted February 11, 2010 hmmm strange. the first one should work. the second definitely won't. try $option = "<span id='foo' onclick=\"alert('foo');\">Add as friend</span>"; Link to comment https://forums.phpfreaks.com/topic/191708-quotes-problem/#findComment-1010472 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.