I have a header.php and I need the file to change depending on which page includes it.
Basically, say I open a page called 1.php. This page includes header.php. I need header.php to change because it is being called by 1.php. Then, I need it to change again if it is called by 2.php etc etc.
I don't know if this is possible. I asked my IT teacher who told me it would probably be done using sessions, but I have no idea how to do that.





Reply With Quote


