Database Concepts 7th Edition
Database Concepts 7th Edition
AUER
Chapter Seven
Database Processing Applications
Chapter Objectives
• Understand and be able to set up Web
database processing
• Learn the basic concepts of Extensible
Markup Language (XML)
Figure 7-15: The HTML Code for the index.html File in Notepad
KROENKE and AUER - DATABASE CONCEPTS (7th Edition)
Copyright © 2015 Pearson Education, Inc. Publishing as Prentice Hall 7-33
Web Pages:
The default.htm Web Page
Figure 7-17:
The HTML Code for the index.html File in the NetBeans IDE
KROENKE and AUER - DATABASE CONCEPTS (7th Edition)
Copyright © 2015 Pearson Education, Inc. Publishing as Prentice Hall 7-35
The ReadSeminar.php Code:
Page Setup and Style Section
From Figure 7-18: The HTML and PHP Code for ReadSeminar.php
KROENKE and AUER - DATABASE CONCEPTS (7th Edition)
Copyright © 2015 Pearson Education, Inc. Publishing as Prentice Hall 7-36
The ReadSeminar.php Code:
Creating A Connection
From Figure 7-18: The HTML and PHP Code for ReadSeminar.php
KROENKE and AUER - DATABASE CONCEPTS (7th Edition)
Copyright © 2015 Pearson Education, Inc. Publishing as Prentice Hall 7-37
The ReadSeminar.php Code:
Creating A Recordset
From Figure 7-18: The HTML and PHP Code for ReadSeminar.php
KROENKE and AUER - DATABASE CONCEPTS (7th Edition)
Copyright © 2015 Pearson Education, Inc. Publishing as Prentice Hall 7-38
The ReadSeminar.php Code:
Displaying the Results
From Figure 7-18: The HTML and PHP Code for ReadSeminar.php
KROENKE and AUER - DATABASE CONCEPTS (7th Edition)
Copyright © 2015 Pearson Education, Inc. Publishing as Prentice Hall 7-39
The ReadSeminar.php Code:
Disconnecting from the Database
From Figure 7-18: The HTML and PHP Code for ReadSeminar.php
KROENKE and AUER - DATABASE CONCEPTS (7th Edition)
Copyright © 2015 Pearson Education, Inc. Publishing as Prentice Hall 7-40
The ReadSeminar.php PHP Code
In the NetBeans IDE
Figure 7-19:
The HTML and PHP Code for ReadSeminar.php in the NetBeans IDE
KROENKE and AUER - DATABASE CONCEPTS (7th Edition)
Copyright © 2015 Pearson Education, Inc. Publishing as Prentice Hall 7-41
The ReadSeminar.php Web Page
On NewSeminarForm.html page
On InsertNewSeminar.php page