PHP – Form Submission

Hello Readers,

I hope you all know about the HTML forms and submitting the form data to the PHP file. Today I would like to tell you, How to submit the data to the same file and to work with those data.

Consider, you have a form that gets the email id from users to subscribe to your blog. First user enter his email and preses submit button, then the entered e-mail is sent to the PHP file where you insert the e-mail id into the database. So you will use two separate files, one for form and other for database insertion.

By reducing it to the single page, We can

Leave a Reply

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

займ на карту онлайн круглосуточно