Convert .html to .php -> fail

Can you post a link to the page?

after spending all night figuring this out i finally solved the problem. i created new copy of the .php version of file and then moved it into a new folder along with the .js and .css file. When i tried to execute it again,it works!

Hehe, that was the most likely problem. You can update the links so that they will find those files from any folder.