1    form              82          2554
2form  8
3Form   4-19
4
5        formimage field                                             HTML        Text         fieldfile field        Hidde...
6                                                                       HTML                 Object                       ...
7                                 HTML                                                       View>Visual     Aids>Invisibl...
86.           Method                                        Object                  frmProcess                            ...
9     _top            Objects               (Form Objects)     Form Objects     Objects                                HTM...
10                      HTML (Object Form)                  Insert>Form                     Forms                     Form...
11                     Single Line                     Multi Line                     Password      Init ValHidden Field  ...
12                                        Check Box                        Properties                           Check Box ...
13             Checked Value                         Radio Button             Initial State                    Checked    ...
14                                                         Insert>Form Objects>Jump      Menu                      Forms  ...
15File Field                          File Field                                                             Insert>Form O...
16                Reset Form                None1.                      File>New>Dynamic Page>PHP4            Create2.    ...
17         Browse     master.css            OK                  Link External Style Sheet   OKDesign
18
195.            CSS            Object     Object            CSS     Form       formbg                                     ...
20OK
21               x      Rows,       Columns)       Object Form                     Object                      Object     ...
22                                   Radio Button                   List/Menu4.     CSS                                   ...
23CheckBox        radiobutton   PropertiesRadioButton     radiobuttonChecked Value   1Checked Value   2
24     List/Menu         selectstatus     Properties             List Values                               +      Item Lab...
25http://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

493

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
493
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

  1. 1. 1 form 82 2554
  2. 2. 2form 8
  3. 3. 3Form 4-19
  4. 4. 4
  5. 5. 5 formimage field HTML Text fieldfile field Hidden Fieldsbutton Objects Textarealabel Button Check Box Radio Button Radio Buttonfieldset fieldset Radio Button Radio Button Radio Button Radio Radio Button Group List / Menu jump manu
  6. 6. 6 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
  7. 7. 7 HTML View>Visual Aids>Invisible Elements Invisible Elements3. HTML Properties4. Form Name frmProcess PHP5. Action URL PHP Object frmProcess
  8. 8. 86. 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
  9. 9. 9 _top Objects (Form Objects) Form Objects Objects HTML(Object Form) HTML Objects HTML
  10. 10. 10 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
  11. 11. 11 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
  12. 12. 12 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
  13. 13. 13 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
  14. 14. 14 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
  15. 15. 15File 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
  16. 16. 16 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…
  17. 17. 17 Browse master.css OK Link External Style Sheet OKDesign
  18. 18. 18
  19. 19. 195. 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
  20. 20. 20OK
  21. 21. 21 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
  22. 22. 22 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
  23. 23. 23CheckBox radiobutton PropertiesRadioButton radiobuttonChecked Value 1Checked Value 2
  24. 24. 24 List/Menu selectstatus Properties List Values + Item Label Value OK7.8. display.php
  25. 25. 25http://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=

×