Hi :)
A few days back I purchased this book- "Beginning PHP5,Apache,MySQL Web Development" by E. Naramore,J.Gerner,Stolz,M.Glass,Yann Le(Wrox Publication).
I have installed WAMP5 version(1.7.3).But after running this program code from page 34-35 of the book I get this output in my Firefox browser(latest version)-
<html>
<head>
<title>My 1st Program</title>
</head>
<body>
<?php
echo "<h1>I'm a lumberjack.</h1>";
echo "<h2>And I'm okay.</h2>";
?>
</body>
</html>
Output:-
I'm a lumberjack."; echo "
And I'm okay.
"; ?>
Why is wrong with the code? I am getting the 'echo,'; ?' which are syntax of the program as output!!Also, the <h1> tag doesn't work!!!
Is my configuration wrong?
Also,I have saved the notepad files with .php extension in a folder called "myprog" in the c:\wamp\www\myprog folder.
But when I select the files for running from Firefox browser,it doesn't run.Why i don't know...I have to type
http://localhost/programname.php every time I have to run a program in the browser!!
Or there is a shortcut?When I select File->Open File -> program name the program doesn't run.
I have IIS installed but I have to stop these service manually every time before I start Apache Monitor & wampServer.
Do i also need to start the apache monitor for running PHP

:(
I am new to PHP programming so please help me...
Thanks in advance