Html form is not submitting using php (Solved)


Hi, today I was working with a simple HTML form. After making the form design, I did PHP on the same page to simply echo whatever user entered into the text fields.

Everything was fine and I checked it for almost 20 times. The only problem was that I was doing mistake at button like;

<input  type="button" name ="btn" value="Button" />

so, That’s what I was making mistake. Because I was supposed to give

<input type="Submit">

That’s it.

If you are still facing the problem. Then do comment below and I’ll be happy to assist you.

Share it in your network:

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

small_c_popup.png

Congratulations!

You have successfully subscribed to my email list. Now you will be recieving latest wordpress tips and tricks directly in your mail box.

Don’t worry! I won’t spam you