Forum Moderators: coopster
This is the code I currently use on the user-access pages:
<? session_start();
if($_SESSION['CustomerID'] == "") { header("Location: login.php"); }
?>
I am looking for some type of PHP script which says
<?
IF ($_Session['CustomerID'] == "") THEN (HYPERLINK:INDEX-USERISLOGGEDIN.PHP) ELSE (HYPERLINK:INDEX.PHP)
?>
How can I create such a code? How can I have my text with this underlying code look like a hyperlink?