Twigletmac | Please use meaningful titles for your threads (I have adjusted this one to aid other people searching for information)
How to display in page title file name (for e.g. if http://www.gooogle.com then topic would be index.php) but without ".php"?
How to display page name without extension
Moderator: General Moderators
Assuming you have a string $title that contains "index.php". All you have to do is make a string without the last 4 characters: http://www.php.net/substr is a good place to start...
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK