Example of Using PHP/MySQL with forms
(Click to
View the Source
or to
See the Contents of the Database
)
(You should also View->Source of this page to see what HTML is generated)
Feel free to make changes and 'Update DB' to see it work
Name
Sex
Languages
Birth Month
Message
M
F
Python
PERL
JavaScript
HTML
January
February
March
April
May
June
July
August
September
October
November
December
My message, etc.
M
F
Python
PERL
JavaScript
HTML
January
February
March
April
May
June
July
August
September
October
November
December
Sue's message
M
F
Python
PERL
JavaScript
HTML
January
February
March
April
May
June
July
August
September
October
November
December
Brad "talk"
Refresh just sends the values from the form back to the form
Reread the data from the database
Store the above form values to the database