I’m a php newbie, and I need some help. I’ve read a book about it and I feel fairly comfortable in my design skills, but I get a problem when I try to incorporate the php within my web page.
I have a sample html page:
[code]Name: Age: [/code] and a sample php file: [code]
Welcome <?php echo $_POST["name"]; ?>.
You are <?php echo $_POST["age"]; ?> years old.
It is supposed to display:
Welcome John. You are 28 years old.
But, instead it opens the download manager and prompts me to open the php script with emacs text editor.
Anybody have any ideas on why this is happening? I’m opening the html file from my desktop rather than from an actual server if that makes a difference.