Beginners PHP form help?

sctrojanfan504

New member
When I click submit on my form, my web browser keeps popping up my php file, wanting me to save or open it. My form is not sending the information that I typed in it. Why is this happening?

In my PHP file; all I have is a PHP script printing "Thank you for your feedback." ( <?php print "Thank you for your feed back ?> ) Thats it.

I just created a very simple PHP form. I have a Mac and my database is a MAMP database; I did not create a MySQL database from scratch. I downloaded PHP a few weeks ago, so it is an early version (PHP 5).
I saved my HTML and PHP form file in the MAMP htdocs folder.

This is just for practice and I am new to PHP.
I have the .php as in <form action="feedback.php" method="get"> </form> file extension.

And when click I send, my print command won't show up. My browser only asks me to save or open my PHP file. I'm using FireFox if that helps.
 
Back
Top