I have bunch of HTML pages, each contains a line at the top of the page, the line is
<?xml version="1.0" encoding="UTF-8" ?>
pages were opening perfectly when I was running on localhost, now I have uploaded the files to server, and its giving me an error. the error is,
Parse error: syntax error, unexpected T_STRING in /home/a7597163/public_html/secretary.html on line 1
when I remove this line the page is displayed without any error, but the problem is I cant manually remove each line out of it, can anybody tell me how can I remove that line from each page... I tried using this
document.body.innerHTML = document.body.innerHTML.replace( /<?xml version="1.0" encoding="UTF-8" ?>/g, "");
but didnt work.
Thanks