Jump to content

Simple Concatenation Question


jor133d

Recommended Posts

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

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.