Jump to content

[SOLVED] Basic Form - Not Working!


grungefreak

Recommended Posts

Hi,

 

I have been php programming for a long time. But this is doing my head in..I cannot get a form to post to my php file. I really cannot see where I'm going wrong. I press the submit button and nothing happens, not even an error. Here's the code:

 

 



<form action="feedback.php" method="post">
    <input name="name" type="text" value="name" class="textInput"/>
     <input name="email" type="text" value="email" class="textInput"/>
     <textarea name="comments" cols="" rows="" class="textInput"></textarea>
     <input name="submit" type="button" value="Submit"/>
    
    </form>

 

The feedback.php file does exist and is in the same directory as the form...

 

GF

 

Link to comment
https://forums.phpfreaks.com/topic/162900-solved-basic-form-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.