Thats not what I meant to say... sorry. I am using PHP to print out Js on an html page, and when that js is printed out and the browser reads it as js, just as it reads html as html, the script language="javascript" src="http://wherever"> shows up when I view the source, but it didn't actually bring in the included js file. Also, when I try to include a php file, it displays that file wherever the include() command is, which means I cannot assign it a variable, even though all of the books I read say you can assign a variable to the included file, so that I can have that included file be a printed out on the page, within an echo() command which will have other variables in it. But the problem is, the included php or txt file always shows up wherever the actuall include() command is, and I cannot place that inside of the echo command, or else it prints the actual coding.
So basically what I am asking is how can I include a file and have it show up within some pre-printed html tags, or accomplish the same effect by using some sort of javascript, or maybe even ssi if I have to, but I would rather use the first two options.