Trying to learn php.
I DL'ed and installed WAMP and it appears to be running correctly.
I open my notepad and type the following, per the instructions of my "How-To" book:
<?php
echo "<table border=\"1\" cellpadding=\"4\" cellspacing=\"4\">n";
for ($y=1; $y<=12; $y++) {
echo "<tr> \n";
for ($x=1; $x<=12; $x++) {
echo "<td>";
echo ($x * $y);
echo "</td> \n";
}
echo "</tr> \n";
}
echo "</table>";
?>
The book says to save it as a .php file and put it in the document directory and then open using a web browser.
However, when I open using FF or IE all I get is the above code.
I even tried throwing html-head-body tags around it.
So what did I miss?