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

#48150
chrisburton
Participant

For anyone wanting to know:


$urlValue = $_SERVER;
if($urlValue == "/") {
$titleValue = "";
} else {
$urlValue = Ltrim($urlValue, "/");
$urlValue = Rtrim($urlValue, "/");
$titleValue = " | " . ucfirst($urlValue);
}
?>

Title

<?php echo "John Doe" . $titleValue ?>

Thanks @chrisbull for getting me started