Greetings,
I have installed PHP on Solaris 10 and now have problems following a tutorial, or at least my results aren't what the tutorial displays, the code is:
movie1.php:
<HTML>
<HEAD>
<TITLE>Find my Favorite Movie!</TITLE>
</HEAD>
<BODY>
<?php
echo "<a href=' echo "Click here to see information about my favorite movie!";
echo "</a>";
?>
</BODY>
</HTML>
moviesite.php:
<HTML>
<HEAD>
<TITLE>My Movie Site - <?php echo $favmovie ?></TITLE>
</HEAD>
<BODY>
<?php
echo "My favorite movie is ";
echo $favmovie;
echo "<br>";
$movierate=5;
echo "My movie rating for this movie is: ";
echo $movierate;
?>
</BODY>
</HTML>
My results are:
My favorite movie is <-- missing value
My movie rating for this movie is: 5
I have installed PHP on Solaris 10 and now have problems following a tutorial, or at least my results aren't what the tutorial displays, the code is:
movie1.php:
<HTML>
<HEAD>
<TITLE>Find my Favorite Movie!</TITLE>
</HEAD>
<BODY>
<?php
echo "<a href=' echo "Click here to see information about my favorite movie!";
echo "</a>";
?>
</BODY>
</HTML>
moviesite.php:
<HTML>
<HEAD>
<TITLE>My Movie Site - <?php echo $favmovie ?></TITLE>
</HEAD>
<BODY>
<?php
echo "My favorite movie is ";
echo $favmovie;
echo "<br>";
$movierate=5;
echo "My movie rating for this movie is: ";
echo $movierate;
?>
</BODY>
</HTML>
My results are:
My favorite movie is <-- missing value
My movie rating for this movie is: 5