A little dab'll do ya
Code Snippets
Get Current File Name
<?php
$pageName = basename($_SERVER[PHP_SELF]);
?>Potential use:
<body id="body_<?php echo $pageName; ?>">Append ID to body to do different CSS styles on different pages.
<?php
$pageName = basename($_SERVER[PHP_SELF]);
?><body id="body_<?php echo $pageName; ?>">Append ID to body to do different CSS styles on different pages.
Chris your snippets section is working. I found this on Google it was just what I needed.
http://www.expertcore.org/viewtopic.php?f=67&p=1453 has two solutions
sweet
yeah! this is working, thank you.