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. Link to comment https://forums.phpfreaks.com/topic/191730-simple-concatenation-question/ Share on other sites More sharing options...
Deoctor Posted February 11, 2010 Share Posted February 11, 2010 have u tried adding like this \' Link to comment https://forums.phpfreaks.com/topic/191730-simple-concatenation-question/#findComment-1010575 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.