Permabanned
- Joined
- 3 Jul 2008
- Posts
- 3,762
- Location
- My fabulous ship
hey guys, I just came across this line of code and have never seen it before - searching the net and the php manual came back with nothing so was wondering if someone could tell me what <<<END does and how I can use php code with it?
PHP:
$content .= <<<END
<div class="play">
<div id="audioplayer-##SONG_ID##">
<script type="text/javascript">
AudioPlayer.embed("audioplayer-##SONG_ID##", {soundFile: "/track/play/##SONG_ID##"});
</script>
</div>
</div>
END;