Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Dynamic Content Re: Dynamic Content

#48248
chrisburton
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?