A PHP form on a Web page allows a user to data that is sent to a server for processing. For example, the site almost every society contains a contact form so visitors can send a message to the owner of the site.
This form of contact usually contains a number of areas - the visitor's name to the e-mail and a key to the message. PHP forms similar to paper forms, because Internet users to complete forms with checkboxes, radio buttons or text boxes.
For example, the forms can be used to enter the shipping or credit card to order a product or can be used to retrieve data.
When dealing with HTML forms and PHP it is necessary to remember that any form element in HTML page will automatically be available to the PHP scripts.
<form>
<table>
<tr>
<td>Name *</td>
<td><input type="text"></td>
</tr>
<tr>
<td>Email *</td>
<td><input type="text"></td>
</tr>
<tr>
<td>Phone</td>
<td><input type="text"></td>
</tr>
<tr>
<td>Field_check</td>
<td>
<input type="checkbox" value="1"><label>Check_1</label><br>
<input type="checkbox" value="2"><label>Check_2</label><br>
<input type="checkbox" value="3"><label>Check_3</label>
</td>
</tr>
<tr>
<td>Message *</td>
<td><textarea rows="5"></textarea></td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td><input type="button" id="subbut" value="Submit"></td>
</tr>
</table>
</form>
Use information from tutorials resource: http://phpforms.net/tutorial/tutorial.html
| Title | Under | Posted on |
|---|---|---|
| MD5 - SHA checksum of a file. | PeopleSoft Technical | 02/07/2012 - 5:29am |
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
Post new comment