actually i found the code.....
In the title tags put this...
Code:
<title> Roboto<?php echo "—{$title}"; ?> </title>
Include this file in the same page.
Code:
<?php
$title = basename($_SERVER['SCRIPT_NAME'], '.php';
$title = str_replace('_', ' ', $title);
$title = ucwords($title);
?>
So there it is... I will tell you what it does to..
The first line tells you to get the the name and take it and kill the .php.
The second line takes the name of the title and takes out all the "_" and replaces them with a space.
The third line takes the title and (ucwords) meaning uppercase words, witch makes them capitalized..
Hope this works for you!
Bookmarks