how to read a webform with php -
I'm trying to do something original but for this tutorial can not be found.
I have created a simple web form using HTML, which I need to do is create a PHP file, which can read web form, a new browser window of web browser (or in the same page) Displayed), toys have people with no tutorial on this
Many thanks Chris
< P> I'm sure many different posts will link to the tutorials they like , But I thought I just gave you the basic form of the form method and action method attribute ths tells the browser how to submit data, either via GET or POST. Action attribution tells the browser where to submit the form. (In your case it will be somepage.php) If you ever need a form to submit yourself back, you can type the name of the page here clearly or you can use PHP. Finally, make sure that all your fields use the field name attribute, because PHP elements will be accessed in this way.
On the php side of things, your form variable will be stored in either $ _GET or $ _POST, depending on how you had submitted your form. For example, suppose you have an input element of type text by the name 'first name' within php you
This should be enough to get you started. For more information, be sure to check the php docs and other tutorials listed on this page.
Comments
Post a Comment