Answered step by step
Verified Expert Solution
Question
1 Approved Answer
n26 out of question Implement the following using PHP and MYSQL.. (MAKE SCREEN SHOT OF MY SOL WINDOW (TABLE STRUCTURE AND TABLE DATA), PHP PROGRAM
n26 out of question Implement the following using PHP and MYSQL.. (MAKE SCREEN SHOT OF MY SOL WINDOW (TABLE STRUCTURE AND TABLE DATA), PHP PROGRAM AND THE OUTPUT WINDOW.PASTE ALL IN YOUR ANSWER SHEET ALONG WITH THE QUESTION NUMBERS) a) Create the following database and table using MySQL [2 Marks] Database Name: Vehicle Table Name Car b) Insert the following values into the table [2 Marks Cname Cid Price Available Benz 10 B100 10000 12 Audi A 100 7500 34 T100 5000 Toyota Kia 45 K100 3500 Write necessary PHP script to establish a connection with the database. 3 Marks d) Display the data from the Cuame field to the browser page by retrieving from the database. [3 Marks 25 MAKE SCREEN SHOT OF PHP PROGRAM AND THE OUTPUT WINDOW.PASTE ALL IN YOUR ANSWER SHEET ALONG WITH THE QUESTION NUMBER) Design the form as shown below. (4 marks) out of Employee name: Amira uestion Date of Join 09-Jun-2020 O Salary: 2100 Department IT Buss Engg Enter a) Display the output values in the format as shown. (4 marks) Employee name is : Amira Date of Join is: 06/09/2020 Salary is : 2100 Department is: IT b) Validate the "Department" field to choose at least one option. c) Validate the "Salary" field to input only numbers from 3 to 5 digits. [1 mark] [1 mark]
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started