Anyway this is what I have:
<? $fullpath = $_SERVER["PHP_SELF"]; $filename = substr(strrchr($fullpath, "/"), 1); echo $filename ?>
When it echos the $filename it prints out : pagename.php
How can I echo just "pagename" without the .php tag?
Your help is always appreciated and I'll keep looking in the meantime!