PHP and dreamweaver template problem?!

[color=black][font=Arial]hi guys,[/font][/color]

[color=black][font=Arial]I have designed a page by dreamweaver and set up a template for consistent design. then I have added php scripts to add records into MySql DB and display the title of each record. I have saved the files as php format.[/font][/color]

[color=black][font=Arial]on my own Pc it works fine. But when I upload them to my host server, I get error on those php pages that some items are undefined!! But those items are part of the functions used for displaying navigation structure in the html template! And they look fine on my test PC.[/font][/color]

the main error displayed by IE is with regards to javascript functions I have used.

[color=black][font=Arial]any idea why it should happen? are you aware of any conflict between HTML templates + javascript, and php file format?[/font][/color]

[color=black][font=Times New Roman]thx :goatee: [/font][/color]