PHP is not HTML , so its not necessary if it shows up on the top of your webpage will be at the top of you php file too , you can dynamically insert things where ever you want to ..

Just do a search for what i said (search = ctrl + f in your browser) and then type/paste what you are searching for ..