My php code will not execute and I'm not sure why. Below is the code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Before.html </title>
<meta name="Generator" content="Alleycode HTML Editor" />
<meta name="Description" content="Your description here..." />
<meta name="Keywords" content="Your keywords here..." />
</head>
Before #1, Test php
<br />
<?php
echo "Hello World!; <br>
?>
<br />
Before #2, Variables
<br />
<?php
$name = "Name
$age = Age;
echo "My name is $name and I am $age years old.";
?>
<br />
Before #3, Comments
<br />
<?php
//-----------------------------------------variables------------------------------------
$name = "Name";
$age = Age;
$color = "Color" ;
echo "Welcome<br>";
echo "Enjoy it?<br>";
echo "Messages<br>";
?>
<body>
</body>
</html>
Any suggestions would be greatly appreciated
Thanks
Tina