Jump to content

Trouble using <<< and inserting variables with no spaces


OM2

Recommended Posts

I've got the following code:

	echo <<<myStringEcho
	<script src="$myPluginPath/jquery.dummy.js"></script>
myStringEcho;

 

The problem is that $myPluginPath already has a / character at the end, so I don't need to put it in above

But, I can't just remove it, otherwise I'll get $myPluginPathjquery.dummy.js

 

How can I insert and have no spaces?

 

Thanks

 

 

OM

Link to comment
https://forums.phpfreaks.com/topic/227734-trouble-using/
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.