Sun Dial Menu
PHP Form Validation Example
Menu PHP Form Validation Example
 

PHP Form Validation Example

This needs to be uploaded to work. i.e. a PHP FILE

The validated and required data will be echoed on this page below the submit button.

The invalid data will be echoed as a Err variable next to the input field

* required field

Name: *

E-mail: *

Website:

Comment:

Gender: Female Male Other *

The action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" echoes the output back to this page.br> Actually, I am not sure that it does

Top

Your Input:



Website:

email this data

If the data above was concatinated into a single string it could be posted using the php mail function.

Links

Top

External Links - references

Site design by Tempusfugit Web Design -