![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | README.html | 2000-02-23 21:40 | 1.3K | |
![]() | calcul.php | 2018-05-15 19:30 | 1.1K | |
![]() | calcul.text | 2018-05-15 19:30 | 1.1K | |
![]() | calcul2.php | 2018-05-15 19:30 | 787 | |
![]() | calcul2.text | 2018-05-15 19:30 | 787 | |
![]() | calcul3.php | 2018-05-15 19:30 | 851 | |
![]() | calcul4.php | 2018-05-15 19:30 | 640 | |
![]() | form-calcul.php | 2018-05-15 19:30 | 1.9K | |
![]() | form-calcul.text | 2018-05-15 19:30 | 1.9K | |
![]() | formulaire.html | 2007-11-27 11:26 | 1.3K | |
![]() | formulaire.text | 2007-11-27 11:26 | 1.3K | |
![]() | formulaire2.html | 2000-02-23 19:56 | 1.3K | |
![]() | formulaire3.html | 2000-11-29 17:11 | 1.5K | |
![]() | formulaire3.text | 2000-11-29 17:11 | 1.5K | |
![]() | formulaire4.html | 2002-06-17 09:17 | 1.6K | |
![]() | formulaire4.text | 2002-06-17 09:17 | 1.6K | |
(1) Start with formulaire.html. The form in this html page (source is in formulaire.text) is sent to calcul.php that does the processing (see calcul.phps and calcul.text for source code).
(2) formulaire2.html shows how to use arrays (a single name/variable for 2 questions). File calcul2.php does the processing (calcul2.phps and calcul2.text for looking at the code).
(3) form-calcul.php shows how to to do both the form and the processing in one page. This is my preferred method for doing simple things, but a bit more difficult to understand.
We also have a JHTML(Old Java Server Pages) version: http://tecfa2.unige.ch:8080/develop/jhtml-ex/simple-calcul/formulaire.html and servlets, JavaScript versions [links to insert]
D.K.S.