Home › Forums › Back End › Dynamic Content › Re: Dynamic Content
May 1, 2011 at 11:32 am
#48248
Participant
Fixed it by changing out the = and adding commas for $urlValue.
$urlValue = $_SERVER;
if($urlValue == "/") {
$titleValue = "";
} else {
$urlValue = ltrim($urlValue, "/");
$urlValue = rtrim($urlValue, "/");
$titleValue = " | " . $urlValue;
}
Another question is how to get the title to be capitalized?