• Create a new database called 'Library' • Create two tables in the database O First table name is 'Books' o Second table name is 'Authors' • The tables should contain the following columns O Books table 1 Book ISBN (Primary Key) 1 Book Title 1 Book Author id Type (Novel, Science, ...) o Authors table 1 Author Id 1 Author name 1 Author Country • Fill table Books with the following data (use ready insert statements in myPhpAdmin) O 1, C++ How to Program, 111, Programming o 2, Jane Eyre, 222, Novel 3, Visual C# how to program, 111, Programming o 4, The 5 AM Club, 333, Human Development Fill table Authors with the following data (use ready insert statements in myPhRadmin) o 111, Deitel, UK o 222, Charlotte Bronte, UK o 333, Robin Sharma, USA

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Exercise 1 (Database)
Create a new database called 'Library'
Create two tables in the database
First table name is 'Books'
Second table name is 'Authors'
The tables should contain the following columns
Books table
Book ISBN (Primary Key)
Book Title
Book Author id
Type (Novel, Science, ...)
Authors table
Author Id
Author name
Author Country
Fill table Books with the following data (use ready insert statements in myPhpAdmin)
1, C++ How to Program, 111, Programming
2, Jane Eyre, 222, Novel
o 3, Visual C# how to program, 111, Programming
4, The 5 AM Club, 333, Human Development
Fill table Authors with the following data (use ready insert statements in myPhpAdmin)
o 111, Deitel, UK
222, Charlotte Bronte, UK
o 333, Robin Sharma, USA
Exercise 2 (Website)
Create a web page that displays in the first section, an HTML table that resembles the Database table Books
(the same colums).
Write a php code to retrieve all data from Books table, and create the html table rows with them.
In the second section of the page, add html input elements that allows the user to enter A new Author's
data (id, name, country). When pressing submit, the data will be submitted to a php code, and an insert
statement is written to enter the new record (this is a bonus question).
Transcribed Image Text:Exercise 1 (Database) Create a new database called 'Library' Create two tables in the database First table name is 'Books' Second table name is 'Authors' The tables should contain the following columns Books table Book ISBN (Primary Key) Book Title Book Author id Type (Novel, Science, ...) Authors table Author Id Author name Author Country Fill table Books with the following data (use ready insert statements in myPhpAdmin) 1, C++ How to Program, 111, Programming 2, Jane Eyre, 222, Novel o 3, Visual C# how to program, 111, Programming 4, The 5 AM Club, 333, Human Development Fill table Authors with the following data (use ready insert statements in myPhpAdmin) o 111, Deitel, UK 222, Charlotte Bronte, UK o 333, Robin Sharma, USA Exercise 2 (Website) Create a web page that displays in the first section, an HTML table that resembles the Database table Books (the same colums). Write a php code to retrieve all data from Books table, and create the html table rows with them. In the second section of the page, add html input elements that allows the user to enter A new Author's data (id, name, country). When pressing submit, the data will be submitted to a php code, and an insert statement is written to enter the new record (this is a bonus question).
Expert Solution
steps

Step by step

Solved in 6 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY