Home › Forums › Back End › If on a certain page display a certain link › Re: If on a certain page display a certain link
August 21, 2012 at 1:42 pm
#108279
irish1381
Member
basic example:
$setPage = $_SERVER;
$currPage = trim($getPage, '/');
if($currPage == 'WTFOMG.php'){
echo 'do some stuff';
}elseif($currPage == 'GMOFTW.php'){
echo 'ffuts emos od';
// echo out a link or something fun and creative
}