Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Use PHP to place a css file link in the header?? Re: Use PHP to place a css file link in the header??

#110397
Blackhawkso
Member

@ChristopherBurton Hey Chris thanks for a reply.

The issue is that I writing a file for the guy called calendar.php, now he can use this file anywhere he wants in any other script by using a PHP include. Now I could make the outputted html from the PHP script have a head tag etc etc so that the link for the CSS file goes inside a head tag like it should but I don’t know the page that he is going to use the script on and I don’t want to insert extra html tags into the middle of his page and make his code messy, so what I want to do is if he had a file called lets say index.php and in that file he used I would want to place the link for the CSS file into the head tag of the index.php page. Clear as mud? lol