Question: implement the following using PHP and MYSQL. (MAKE SCREEN SHOT OF MY SQL WINDOW (TABLE STRUCTURE AND TABLE DATA) PHP PROGRAM AND THE OUTPUT WINDOW.
implement the following using PHP and MYSQL. (MAKE SCREEN SHOT OF MY SQL 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 B100 10000 10 Audi A 100 7500 12 T100 5000 34 Toyota Kia K100 3500 45 c) Write necessary PHP script to establish a connection with the database. [3 Marks) d) Display the data from the Cname field to the browser page by retrieving from the database. [3 Marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
