jor133d Posted February 11, 2010 Share Posted February 11, 2010 Hi- I am trying to add a link to a div tag that gets displayed from an echo statement: echo ' <div class="post-BIG" onclick="location.href='.$link.'"> '; I need to include the ' as a string but its already used for the concatenation. This might be a 101 question but I cannot figure it out. Quote Link to comment Share on other sites More sharing options...
Deoctor Posted February 11, 2010 Share Posted February 11, 2010 have u tried adding like this \' Quote Link to comment 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.