OM2 Posted February 15, 2011 Share Posted February 15, 2011 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 More sharing options...
OM2 Posted February 15, 2011 Author Share Posted February 15, 2011 oops. i think i got my solution 5 seconds after posting i used <script src="{$myPluginPath}jquery.dummy.js"></script> doh! Link to comment https://forums.phpfreaks.com/topic/227734-trouble-using/#findComment-1174481 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.