Demo - JavaScript Variable Used By PHP

The names of the elements of a form may be used directly by a PHP script when this script is the action of the form.
Enter a text below and click on Submit, the text is used by a script and displayed on another page.
The text input object below has for name "mytext" and $mytext becomes automatically a variable of the PHP script.


Enter some text: