SlideShare a Scribd company logo
1 of 40
Download to read offline
Mr.Warawut Khangkhan
Facebook:
Facebook: http://www.facebook.com/AjWarawut
           Twitter: http://twitter.com/awarawut
                E-Mail: awarawut@hotmail.com
                            Mobile: 089-461-9591
                                     089-461-
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   2
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   3
F F
    Open add-depart.php
    Save as edit-depart.php
    Open add-depart.html
    Save as edit-depart.html edit text “ F             F   F”
    Create link to edit-depart.php to display-depart.php




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data            4
F                F edit-depart.php
                         edit-




Mr.Warawut Khangkhan    Chapter 13 Edit & Delete Data   5
F Recordset




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   6
F                 F




Mr.Warawut Khangkhan       Chapter 13 Edit & Delete Data   7
F Field                             ReadOnly


                                                            Code
                                                         readOnly=“readonly”




Mr.Warawut Khangkhan     Chapter 13 Edit & Delete Data                         8
F                         F




Mr.Warawut Khangkhan       Chapter 13 Edit & Delete Data   9
F                         F




Mr.Warawut Khangkhan       Chapter 13 Edit & Delete Data   10
F Link                             edit-
                                         edit-depart.php
    Open display-depart.php
    Edit display-depart.php




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data       11
F Link                             edit-
                                         edit-depart.php




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data       12
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   13
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   14
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   15
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   16
F F
    Open edit-depart.php
    Save as del-depart.php
    Open edit-depart-ok.html
    Save as del-depart-ok.html text “                  F   F”
    Create link to del-depart.php to display-depart.php




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data            17
F                F del-depart.php
                         del-




Mr.Warawut Khangkhan    Chapter 13 Edit & Delete Data   18
F




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   19
F Hidden Field                                   Form




                       Key_departCode


Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data          20
F Hidden Field                                   Form




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data          21
F




Mr.Warawut Khangkhan       Chapter 13 Edit & Delete Data   22
F




Mr.Warawut Khangkhan       Chapter 13 Edit & Delete Data   23
F Link                             del-
                                         del-depart.php
    Open display-depart.php
    Edit display-depart.php




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data      24
F Link                             del-
                                         del-depart.php




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data      25
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   26
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   27
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   28
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   29
F F
    New File & Save check.js
    New File & Save del-depart-ok.php
    Edit display-depart.php




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   30
Coding check.js




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   31
Edit display-depart.php
     display-




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   32
Edit display-depart.php
     display-




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   33
Open del-depart-ok.php
     del-depart-
Set Delete Record




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   34
Delete Record




Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   35
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   36
Edit display-depart.php
     display-
1




                 2



Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   37
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   38
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   39
Mr.Warawut Khangkhan   Chapter 13 Edit & Delete Data   40

More Related Content

Viewers also liked

02 tip-tricks
02 tip-tricks02 tip-tricks
02 tip-tricks
Warawut
 
การใช้ตัวแปรแบบคงที่ใน VB.NET 2005 Express Editor
การใช้ตัวแปรแบบคงที่ใน VB.NET 2005 Express Editorการใช้ตัวแปรแบบคงที่ใน VB.NET 2005 Express Editor
การใช้ตัวแปรแบบคงที่ใน VB.NET 2005 Express Editor
Warawut
 
State of Minnesota vs. Wilbur Eugene Schmoll
State of Minnesota vs. Wilbur Eugene SchmollState of Minnesota vs. Wilbur Eugene Schmoll
State of Minnesota vs. Wilbur Eugene Schmoll
Post-Bulletin Co.
 
La ratlla verda.h matisse. pmasias
La ratlla verda.h matisse. pmasiasLa ratlla verda.h matisse. pmasias
La ratlla verda.h matisse. pmasias
jgutier4
 
Islam And Humanitys Need Of It
Islam And Humanitys Need Of ItIslam And Humanitys Need Of It
Islam And Humanitys Need Of It
zakir2012
 
ApresentaçãO Pequena
ApresentaçãO PequenaApresentaçãO Pequena
ApresentaçãO Pequena
andrealagoa
 
Alegaciones a estación de autobuses de plaza Euskaltzaindia
Alegaciones a estación de autobuses de plaza EuskaltzaindiaAlegaciones a estación de autobuses de plaza Euskaltzaindia
Alegaciones a estación de autobuses de plaza Euskaltzaindia
BetiBegira
 
dhtics
dhticsdhtics
dhtics
pbpg
 

Viewers also liked (20)

CRM
CRMCRM
CRM
 
Array
ArrayArray
Array
 
Upload File
Upload FileUpload File
Upload File
 
Set up Web Server with a Dream
Set up Web Server with a DreamSet up Web Server with a Dream
Set up Web Server with a Dream
 
Login
LoginLogin
Login
 
02 tip-tricks
02 tip-tricks02 tip-tricks
02 tip-tricks
 
03 ado-dot-net-access
03 ado-dot-net-access03 ado-dot-net-access
03 ado-dot-net-access
 
03 1-connection-tools
03 1-connection-tools03 1-connection-tools
03 1-connection-tools
 
01 form-mdi
 01 form-mdi 01 form-mdi
01 form-mdi
 
การใช้ตัวแปรแบบคงที่ใน VB.NET 2005 Express Editor
การใช้ตัวแปรแบบคงที่ใน VB.NET 2005 Express Editorการใช้ตัวแปรแบบคงที่ใน VB.NET 2005 Express Editor
การใช้ตัวแปรแบบคงที่ใน VB.NET 2005 Express Editor
 
State of Minnesota vs. Wilbur Eugene Schmoll
State of Minnesota vs. Wilbur Eugene SchmollState of Minnesota vs. Wilbur Eugene Schmoll
State of Minnesota vs. Wilbur Eugene Schmoll
 
La ratlla verda.h matisse. pmasias
La ratlla verda.h matisse. pmasiasLa ratlla verda.h matisse. pmasias
La ratlla verda.h matisse. pmasias
 
Islam And Humanitys Need Of It
Islam And Humanitys Need Of ItIslam And Humanitys Need Of It
Islam And Humanitys Need Of It
 
Apresentação1
Apresentação1Apresentação1
Apresentação1
 
ApresentaçãO Pequena
ApresentaçãO PequenaApresentaçãO Pequena
ApresentaçãO Pequena
 
Acalme meu passo_senhor
Acalme meu passo_senhorAcalme meu passo_senhor
Acalme meu passo_senhor
 
Alegaciones a estación de autobuses de plaza Euskaltzaindia
Alegaciones a estación de autobuses de plaza EuskaltzaindiaAlegaciones a estación de autobuses de plaza Euskaltzaindia
Alegaciones a estación de autobuses de plaza Euskaltzaindia
 
Actividade 10-10-10
Actividade 10-10-10Actividade 10-10-10
Actividade 10-10-10
 
Probabilidad
ProbabilidadProbabilidad
Probabilidad
 
dhtics
dhticsdhtics
dhtics
 

More from Warawut

Object-Oriented Programming 7
Object-Oriented Programming 7Object-Oriented Programming 7
Object-Oriented Programming 7
Warawut
 
Object-Oriented Programming 6
Object-Oriented Programming 6Object-Oriented Programming 6
Object-Oriented Programming 6
Warawut
 

More from Warawut (20)

Database design
Database designDatabase design
Database design
 
Business Computer Project 4
Business Computer Project 4Business Computer Project 4
Business Computer Project 4
 
Object-Oriented Programming 10
Object-Oriented Programming 10Object-Oriented Programming 10
Object-Oriented Programming 10
 
Object-Oriented Programming 9
Object-Oriented Programming 9Object-Oriented Programming 9
Object-Oriented Programming 9
 
Object-Oriented Programming 8
Object-Oriented Programming 8Object-Oriented Programming 8
Object-Oriented Programming 8
 
Object-Oriented Programming 7
Object-Oriented Programming 7Object-Oriented Programming 7
Object-Oriented Programming 7
 
Object-Oriented Programming 6
Object-Oriented Programming 6Object-Oriented Programming 6
Object-Oriented Programming 6
 
Management Information System 6
Management Information System 6Management Information System 6
Management Information System 6
 
Management Information System 5
Management Information System 5Management Information System 5
Management Information System 5
 
Management Information System 4
Management Information System 4Management Information System 4
Management Information System 4
 
Object-Oriented Programming 5
Object-Oriented Programming 5Object-Oriented Programming 5
Object-Oriented Programming 5
 
Business Computer Project 3
Business Computer Project 3Business Computer Project 3
Business Computer Project 3
 
Management Information System 3
Management Information System 3Management Information System 3
Management Information System 3
 
Business Computer Project 2
Business Computer Project 2Business Computer Project 2
Business Computer Project 2
 
Chapter 2 Strategy & Information System
Chapter 2 Strategy & Information SystemChapter 2 Strategy & Information System
Chapter 2 Strategy & Information System
 
Object-Oriented Programming 4
Object-Oriented Programming 4Object-Oriented Programming 4
Object-Oriented Programming 4
 
Business Computer Project 1
Business Computer Project 1Business Computer Project 1
Business Computer Project 1
 
Chapter 1 Organization & MIS
Chapter 1 Organization & MISChapter 1 Organization & MIS
Chapter 1 Organization & MIS
 
Object-Oriented Programming 3
Object-Oriented Programming 3Object-Oriented Programming 3
Object-Oriented Programming 3
 
Object-Oriented Programming 2
Object-Oriented Programming 2Object-Oriented Programming 2
Object-Oriented Programming 2
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 

Edit & Delete Data