Designing solutions through programming - January 18 2017 Lesson Notes: Difference between revisions
Mr. MacKenty (talk | contribs) (Created page with " __NOTOC__ <table cellspacing="10" style="width:100%;"> <tr> <td style="width:50%; margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1...") |
Mr. MacKenty (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
==[[File:class_plan.png]] What are we going to learn today?== | ==[[File:class_plan.png]] What are we going to learn today?== | ||
# | # I am out sick today | ||
# | # your goal is to create a functional html form which passes variables to a php script. | ||
# | ## you must do this inside of bootstrap template | ||
# you will please recall the very simple html form -> php script we use | |||
# in bootstrap, simply ensure your form has an action and method which point to your php script | |||
## you will probably end up with a template.php file with your form | |||
## and a template2.php with the php code | |||
I would ask that you create a form which asks users how many hours a week they exercise. the php script should then use a simple conditional to tell them to exercise more, stay the same, or be careful about exercising to much! | |||
Line 18: | Line 23: | ||
==[[file:homework.png]] What is our homework? == | ==[[file:homework.png]] What is our homework? == | ||
None. | |||
Latest revision as of 09:28, 18 January 2017
|
|
|
|
||
|
|
|
|