View Single Post
 
Old June 30th, 2004, 04:58 PM
Maedhros ~V~ Maedhros ~V~ is offline
Authorized User
 
Join Date: Jun 2004
Location: London, , Canada.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm having problems with this section as well. When I try to run movie1.php I get this error:

Parse error: parse error, unexpected $end in C:\Program Files\Apache Group\Apache2\test\movie1.php on line 12

Here is what my movie1.php looks like:

<html>
<head>
<title>Find my Favorite Movie!</title>
</head>
<body>
<?php
    echo "<a href='http://localhost/moviesite.php?favmovie=Stripes'>";
    echo "Click here to see information about my favorite movie!";
    echo "</a>;
?>
</body>
</html>

And here is my moviesite.php:

<html>
<head>

<title>My Movie Site - <?php echo $_REQUEST ['favmovie'] ?></title>
</head>
<body>
<?php
    echo "My favorite movie is ";
    echo $_REQUEST ['favmovie'];
    echo "<br>";
    $movierate=5;
    echo "My movie rating for this movie is: ";
    echo $movierate;
?>
</body>
</html>

Hopefully someone can point out what is wrong.