Hello. I am still trying to convert an old HTML webpage into one that is compliant with a PHP code template. The webpage does include one javascript that I am trying to keep (a rollover function). I have fixed many of the PHP bugs that were causing problems, however I am now getting a:
Parse error: parse error, unexpected $ in /usr/local/home/geo/htdocs/dev-geo/index.html on line 109
Line 109 is the very last line of code, the </html> command.
The lines leading up to this are:
<?php
include("2nd-foot.php");
?>
</body>
</html>
Someone suggested that there might be an open bracket somewhere, but the only place that uses brackets are at this code near the top:
<!-- hide script
if (document.images) {
shelloff = new Image(26,32); shelloff.src = "nada.gif";
shellon = new Image(26,32); shellon.src = "littleshell.gif";
}
function hiLite(imgName,imgObjName) {
if (document.images) {
document.images[imgName].src = eval(imgObjName + ".src");
}}
// end of hide script -->
Any suggestions as to what this means andhow to fix it?
Thanks!