Html form is not submitting using php (Solved)

Capture


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.

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

AllEscort