Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create PHP file(s) to allow users insert records into your database table(s). Before inserting records into the database tables, validate the user-submitted input in order

Create PHP file(s) to allow users insert records into your database table(s). Before inserting records into the database tables, validate the user-submitted input in order to make sure that the input is not empty, is in an appropriate format, without a single and/or double quotation marks, and with no trailing white spaces

Create PHP file(s) to retrieve records from database tables, and display them in a tabular format in the web browser (Use meaningful column/field headings). For this, you may need to retrieve the data on the primary key column for the most recently inserted record

In the last row of the table, show the number of records retrieved and displayed in the tabular format

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

CREATE TABLE team (team ID. int NOT NULL PRIMARY KEY, Team name varchar(20) NOT NULL Teamshortname varchar(10) UNIQUE NOT NULL Teamowner varcha(25) .CREATE TABLE player (playerid int NOT NULL PRIMARY KEY, Plaer nae varchar(30) NOT NULL, Team ID int FOrEIGN KEY references team (eam, ID) FOREIGN KEY references team (teamID int FOREEIGN KEY references positioning (position ID) .CREATE TABLE positioning ( Position ID int NOT NULL PRIMARY KEY, Eield position varchar(20) NOT NULL .Select Plavername .TeamName. Eield. position, Positioning PositionID From Player inner join Team on PlavecsTeam.D-TeamTeam D inner join Positioning on Plavers PositionID- Positioning Positionl. Inner join on 3 tables is required to extract data from the tables based on common fields CREATE TABLE team (team ID. int NOT NULL PRIMARY KEY, Team name varchar(20) NOT NULL Teamshortname varchar(10) UNIQUE NOT NULL Teamowner varcha(25) .CREATE TABLE player (playerid int NOT NULL PRIMARY KEY, Plaer nae varchar(30) NOT NULL, Team ID int FOrEIGN KEY references team (eam, ID) FOREIGN KEY references team (teamID int FOREEIGN KEY references positioning (position ID) .CREATE TABLE positioning ( Position ID int NOT NULL PRIMARY KEY, Eield position varchar(20) NOT NULL .Select Plavername .TeamName. Eield. position, Positioning PositionID From Player inner join Team on PlavecsTeam.D-TeamTeam D inner join Positioning on Plavers PositionID- Positioning Positionl. Inner join on 3 tables is required to extract data from the tables based on common fields

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

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago