Maybe there is a better solution to what I’m trying to do so any suggestions are appreciated. I am calling in some include files and on those files I have some javascript that needs to be moved to the head tags. The javascript is only specific to that include so I don’t want to have the javascript on every page and I don’t want to create a seperate js file for each function - just whenever that include page is called, to have the javascript for it in the head tags. I know in Coldfusion, you can send code/html/javascript to be moved to the head tags. Just not sure how to do this with PHP.
Thanx