0% found this document useful (0 votes)
32 views

Lab Task 5 PHP Database Connectivity SP20-21

The document provides instructions for a lab task involving connecting a PHP script to a database and performing CRUD operations. Students are asked to submit a file to their GitHub repository before the first lab following midterm containing: 1) PHP script to create, update, delete and retrieve records from a database table. 2) Screenshots of each task. 3) Code can be worked on with classmates or online resources but may not copy directly.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views

Lab Task 5 PHP Database Connectivity SP20-21

The document provides instructions for a lab task involving connecting a PHP script to a database and performing CRUD operations. Students are asked to submit a file to their GitHub repository before the first lab following midterm containing: 1) PHP script to create, update, delete and retrieve records from a database table. 2) Screenshots of each task. 3) Code can be worked on with classmates or online resources but may not copy directly.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Instructions: Please read carefully

 Submit the file before first lab after mid in your github repository in Lab task 5 folder. If you cannot complete
the full task, do not worry. Just upload what you have completed.
 You must upload a screenshot of each task also
 You can take help from your class mate or internet but don’t copy from them. Its important for you to learn

Create a PHP script for the following layout:


EXPERIMENT NAME
Performing Database connectivity using PHP and representing them using HTML.
OBJECTIVE
This assessment item is designed to give you some practice on database connectivity using PHP and representing them
using HTML.
 Create records into database
 Update record in database
 Delete records from database using
 Retrieve records from database
ASSESSMENT TASK
1. Create records into database
2. Update record in database
3. Delete records from database using
4. Retrieve records from database

Example TASKS (Use your own database table)


A. Design the following html form and save the form data into Database
(Database name: product_db, Table name: products) This is an example task (Use any of your own database
table)

B. Display the table contents as given below This is an example task (Use any of your own database table)

*** Note: Only Products with a display value “Yes” should be printed
C. Implement the “Edit” feature as given below This is an example task (Use any of your own database table)
D. Implement the “Delete” feature like below This is an example task (Use any of your own database table)

E. Implement the “Search” feature like below This is an example task (Use any of your own database table)

You might also like