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? Quote 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>"; Quote Link to comment https://forums.phpfreaks.com/topic/191708-quotes-problem/#findComment-1010472 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.