1    form              82          2554
2form  8
3Form   4-19
4
5Form Text fieldHiddenFieldsTextareaCheckBox           Radio Button                          Radio Button
6        Radio        Button                     Radio Button                                              Radio Buttonima...
7
8         HTML                 Object                           Object                             Object                 ...
94.   Form Name                            frmProcess                              PHP5.   Action                         ...
106.           Method                                        Object                  frmProcess                           ...
11     _top            Objects               (Form Objects)     Form Objects     Objects                                HT...
12                      HTML (Object Form)                  Insert>Form                     Forms                     Form...
13                     Single Line                     Multi Line                     Password      Init ValHidden Field  ...
14                                        Check Box                        Properties                           Check Box ...
15             Checked Value                         Radio Button             Initial State                    Checked    ...
16                                                         Insert>Form Objects>Jump      Menu                      Forms  ...
17File Field                          File Field                                                             Insert>Form O...
18                Reset Form                None1.                      File>New>Dynamic Page>PHP4            Create2.    ...
19         Browse     master.css            OK                  Link External Style Sheet   OKDesign
20
215.            CSS            Object     Object            CSS     Form       formbg                                     ...
22OK
23               x      Rows,       Columns)       Object Form                     Object                      Object     ...
24                                   Radio Button                   List/Menu4.     CSS                                   ...
25CheckBox        radiobutton   PropertiesRadioButton     radiobuttonChecked Value   1Checked Value   2
26     List/Menu         selectstatus     Properties             List Values                               +      Item Lab...
27http://www.google.co.th/search?q=forms&hl=th&gbv=2&gs_sm=c&gs_upl=1360l8782l0l10313l30l13l0l2l2l2l328l1655l0.2.4.1l8l0&c...
Upcoming SlideShare
Loading in …5
×

บทที่ 2 การสร้างฟอร์ม html กับ php

286 views

Published on

Published in: Education, Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
286
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

บทที่ 2 การสร้างฟอร์ม html กับ php

  1. 1. 1 form 82 2554
  2. 2. 2form 8
  3. 3. 3Form 4-19
  4. 4. 4
  5. 5. 5Form Text fieldHiddenFieldsTextareaCheckBox Radio Button Radio Button
  6. 6. 6 Radio Button Radio Button Radio Buttonimage field HTML Radio Radio Button Group List / Menufile field jump manubutton Objectslabel Buttonfieldset fieldset
  7. 7. 7
  8. 8. 8 HTML Object Object Object Object PHP Object Text Field,Check Box, List/Menu, Button Object Dreamweaver MXForms Dreamweaver MX File>New General Dynamic Page>PHP4 Create HTML 1. (Document Window) Cursor HTML 2. Insert > Form Forms Form HTML View>Visual Aids>Invisible Elements Invisible Elements 3. HTML Properties
  9. 9. 94. Form Name frmProcess PHP5. Action URL PHP Object frmProcess
  10. 10. 106. Method Object frmProcess ActionPOST Object Form Variables URLGET Object URL Parameter URLDEFAULT Object default GET GET - URL 8,192 - username, password URL7. Enctype default Enctype application/x-www-form-urlencode Method POST Enctypemultipart/form-data8. Target Target _blank _parent (parent) _selfHTML
  11. 11. 11 _top Objects (Form Objects) Form Objects Objects HTML(Object Form) HTML Objects HTML
  12. 12. 12 HTML (Object Form) Insert>Form Forms Form HTML Form Objects Insert>Form Objects Forms Form Objects Form Objects Object Text Field Fieldset Form Objects HTMLForm ObjectsText Field Text Field Insert>Form Objects>Text Field Forms Text Field Text Field Text Field Window>Properties Text Field Properties Text Field TextField Text Field Char Width Text Field Max Chars TextField Type Text Field
  13. 13. 13 Single Line Multi Line Password Init ValHidden Field Hidden Field HTML Hidden Field Insert>Form Objects>Hidden Field Forms Hidden Field Hidden Field Hidden Field Window>Properties Hidden Field Properties Hidden Field HiddenField Hidden Field Value Hidden FieldCheck Box Check Box Insert>Form Objects >Check Box Forms Check Box Check Box Check Box Window>Properties
  14. 14. 14 Check Box Properties Check Box CheckBox Check Box Checked Value Check Box Initial State Checked UncheckedRadio Button Radio Button Insert>Form Objects >Radio Button Forms Radio Button Radio Button Radio Button Window>Properties Radio Button Properties Radio Button RadioButton Radio Button Radio Button Radio Button
  15. 15. 15 Checked Value Radio Button Initial State Checked UncheckedList/Menu List/Menu Insert>Form Objects>List/Menu Forms List/Menu List/Menu List/Menu Window >Properties List/Menu Properties List/Menu List/Menu List/Menu Type Menu List Initially Selected List ValuesJump Menu List/Menu Value List/Menu Value Jump Menu Value URL Jump Menu
  16. 16. 16 Insert>Form Objects>Jump Menu Forms Jump Menu Jump Menu Jump Menu Window>Properties Jump Menu Properties List/Menu List/Menu List/Menu Type Menu List Initially Selected List ValuesImage Field HTML Button Image Field Insert>Form Objects>Image Field Forms Image Field Image Field Image Field Window>Properties Image Field Properties Image Field ImageField Image Field W Image Field H Image Field Src Image Field Alt Align Image Field
  17. 17. 17File Field File Field Insert>Form Objects>File Field Forms File Field File Field File Field Window>Properties File Field Properties File Field FileField Name File Field Char Width File Field Max CharsButton Objects Button Insert>Form Objects>Button Forms Button Button Button Window>Properties Button Properties Button Button Name Button Label Button Action Action Submit Form
  18. 18. 18 Reset Form None1. File>New>Dynamic Page>PHP4 Create2. HTML Forms Form3. x Rows, Columns) Tables Insert Tables OK4. CSS Panel Groups Design CSS Styles Attach Style Sheet…
  19. 19. 19 Browse master.css OK Link External Style Sheet OKDesign
  20. 20. 20
  21. 21. 215. CSS Object Object CSS Form formbg formbg heading heading item item normaltext normaltext6. list.php1. File>New>Dynamic Page>PHP4 Create2. HTML Forms Form3. x Rows, Columns) Tables Insert Tables
  22. 22. 22OK
  23. 23. 23 x Rows, Columns) Object Form Object Object Text Field Forms Text Field Text Field -- Text Field Text Field Text Field Text Field Radio Button Forms Radio Button List/Menu Forms List/MenuText Field
  24. 24. 24 Radio Button List/Menu4. CSS Panel Groups Design CSS Styles Attach Style Sheet… Browse master.css OK Link External Style Sheet OK Design5. CSS Object Object CSS Form formbg formbg heading heading item item6. Text Field txtp_name, txtf_name, txtl_name, txtbirthday, txtage Text Field Properties TextField
  25. 25. 25CheckBox radiobutton PropertiesRadioButton radiobuttonChecked Value 1Checked Value 2
  26. 26. 26 List/Menu selectstatus Properties List Values + Item Label Value OK7.8. display.php
  27. 27. 27http://www.google.co.th/search?q=forms&hl=th&gbv=2&gs_sm=c&gs_upl=1360l8782l0l10313l30l13l0l2l2l2l328l1655l0.2.4.1l8l0&ct=broad-revision&cd=1&sa=X&oq=forms&aq=f&aqi=g4g-s1g5&aql=

×