Small HTML Question
Posted: Mon Jun 05, 2006 2:33 pm
I've been coding html and such for quite some time now, but I was just curious if there way (outside of using variables) to specify a page as a 'this' entity.
Here's what I mean.
Let's say I have an index.php page with tons of various includes. Inside these includes are links referring to index.php (plus a few variables being passed here and there).
I want to change up some stuff in my index.php page and switch to say index2.php and run the same includes.
Is there a way to have my links say something like "this.php" to where I can just change the main index file name without having to go inside each include and manually change each and every link?
Just wondering what fellow site admins do when outside the presence of a CMS.
Any thoughts would be appreciated!
-- Abe --
Here's what I mean.
Let's say I have an index.php page with tons of various includes. Inside these includes are links referring to index.php (plus a few variables being passed here and there).
I want to change up some stuff in my index.php page and switch to say index2.php and run the same includes.
Is there a way to have my links say something like "this.php" to where I can just change the main index file name without having to go inside each include and manually change each and every link?
Just wondering what fellow site admins do when outside the presence of a CMS.
Any thoughts would be appreciated!
-- Abe --