Franjdea
May 14th, 2010, 03:49 PM
Hey guys,
I've got a problem where my page, after you login, only displays normal HTML and not PHP code. Here is the code, I don't know what is wrong. Thank you.
<?
session_start();
echo "This doesn't show either";
if(!session_is_registered(myusername)){
header("location:index.php");
}
?>
<html>
<body>
<p>Login Successful :D</p>
</body>
</html>
Thanks,
-Francis
I've got a problem where my page, after you login, only displays normal HTML and not PHP code. Here is the code, I don't know what is wrong. Thank you.
<?
session_start();
echo "This doesn't show either";
if(!session_is_registered(myusername)){
header("location:index.php");
}
?>
<html>
<body>
<p>Login Successful :D</p>
</body>
</html>
Thanks,
-Francis