Php validating text input
fried chicken I don't know of a fried chicken restaurant near here. crottled greep I don't know of a crottled greep restaurant near here. If they are all digits, the text will convert to an integer.
Here's a sample run of the integer validation code: Now, obviously Fred is not an integer.
This is a simple HTML form with two input fields, one radio box group and a text area for comments.
However, because the variables are not displayed in the URL, it is not possible to bookmark the page.
To show the values in the input fields after the user hits the submit button, we add a little PHP script inside the value attribute of the following input fields: name, email, and website.
This page does not contain any form validation, it just shows how you can send and retrieve form data.
However, the next pages will show how to process PHP forms with security in mind!