What I'm tryin' to do is this
<?php
$u = 3;
$o = 2;
if ($_SESSION['user_rank'] == $u) {
echo "logout.php";
echo "edit.php";
}
elseif ($_SESSION['user_rank'] == $o) {
echo "logout.php<br>";
echo "edit.php<br>";
echo "postnews.php";
}
?>
I want to change the echos to output a url
so that when it shows on the site it will show the url to goto the logout page and the edit page etc
Can this be done?
Thanks in advane,