I am learning how to code in PHP and MySQL and I am running into trouble with my HTML calling up PHP. The code looks like:
<form method="post" action="report.php">
When I ran the PHP and HTML on web server (hosted by GoDaddy), the code worked fine.
However, now I am running on a local server (using Apache and MySQL on my Mac Snow Leopard) and I am getting errors. When PHP gets called, a dialogue window pops up saying that "I have chosen to open report.php" and asking if I want to open it with a text editor or save it. I am using FireFox 3 and it's the same dialogue window that appears when opening up a file.
Do I need to do something in particular when I am using my local server? Do I need to save my files in a particular location?
I've spent a long time trying to fix this so any help would be greatly appreciated!