Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
PHP Error
Any one able to point out problem with this:
session_start();
//checks to see if user is logged in
if ($_SESSION['authuser'] !=1){
echo "Sorry, But you don't have permission to view this page, you hacker!";
exit()
}
?>
<html>
<head>
<title>My Movie Site - <?php echo $_REQUEST['favmovie']; ?></title>
</head>
<body>
<?php
echo "Welcome to our site"
echo $_SESSION['username'];
echo "! <br>";
echo "My favorite movie is ";
echo $_REQUEST['favmovie'];
echo "<br>";
$movierate = 5;
echo "My movie rating for this movie is: ";
echo $movierate;
?>
</body>
</html>
```
It gives me the error
> Parse error: parse error, unexpected '}' in C:\Program Files\xampp\htdocs\moviesite.php on line 7