Hi, I need to convert a certain PHP string into a javascript one, i've done a little research and this is what i came up with:
<?php
$js = new HTML_Javascript(); // the error occurs on this line
echo $js->startScript();
echo $js->convertString($url, url, true);
echo $js->endScript();
?>
the error says: "Fatal error: Cannot instantiate non-existent class: html_javascript"
i pretty much copied the code from a site
thanks for any help.