Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write it using pdo class and html can u write it in the app pls so it's easy to understand in wich page i should

write it using pdo class and html
can u write it in the app pls so it's easy to understand in wich page i should write the code
image text in transcribed
image text in transcribed
1. Create a database using PHP MyAdmin 2. Write php code to connect to this database, then create the following table using php code Where: - Id is the primary key and should be auto-increment. - Name, Genre, and your opinion should be string and not null - Year of production should be of type year 3. Using php code Enter 3 rows into your table 4. Retrieve all the data you've entered in your table and display it in the browser. Write a PHP code to do the following: 1) A Check your movie page (page1): a user can enter the name of the movie if the movie was found in the database. Then, it will display the movie name its genre and your opinion. 2) If the the movie was not found, then he should add the movie in his database using a form page (page2). 3) On this page (page2), you will have a form. - This form will allow you to ADD a new record to the database. - After you click submit, this page should reload - And you should see all filled fields are displayed 4) Because you are adding records (data) to your database, you should make sure the data is correct! 5) So you MUST use validation - You must use PHP (server-side) validation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions

Question

1. In most ways my life is close to my ideal.

Answered: 1 week ago

Question

understand the key issues concerning international assignments

Answered: 1 week ago