Adding javascript to php

Need Help

I want to add

<script type="text/javascript">wsr_snapshot('http://URL', 'websnapr API Key', 'Size');</script>

To

[php] global $ypItem, $tp;
$text = “”.$tp->toHTML($ypItem->getWebsite(), true)."";
return $text;[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service