I'm looking for a way to do this in php:
1. Read the file name of the php page it's on. Ex. publish_3.php
2. Store the filename as a variable. Ex. $page_id = "publish_3.php"
3. $page_id will then be used to set styles for that page ie. navigation hover-over tick marks
4. Find the number in the $page_id variable and assign THAT to another variable. Ex. "publish_3.php" has a number of 3. $page_num = "3".
5. $page_num will then be used to set styles for that page ie. navigation hover-over tick marks
1. Read the file name of the php page it's on. Ex. publish_3.php
2. Store the filename as a variable. Ex. $page_id = "publish_3.php"
3. $page_id will then be used to set styles for that page ie. navigation hover-over tick marks
4. Find the number in the $page_id variable and assign THAT to another variable. Ex. "publish_3.php" has a number of 3. $page_num = "3".
5. $page_num will then be used to set styles for that page ie. navigation hover-over tick marks