I have to place an ad into my youtubescript and need help.

It is a php file and has to execute to display a link that changes on each page.

I cant seem to get the template to bring in a php file include. Can anyone help?