Você está na página 1de 1

Database and File IO

Name of Student: Module:


Name of Partner: Assignment No:
Date of Evaluation: Status:

Remark:

Name of evaluator: Signature:

1. Write a program to implement the following using php :


a. Create a database named Company
b. Create a table named employee with following fields eid, ename, designation, basic.
c. Accept the input from user and insert into the table.
d. Display all the table information in a tabular form on and HTML page
e. Accept an eid from user and display the appropriate record to the user.
f. Accept ename from user and display the appropriate records to user.
2. Create a Web page which contains following layout :

On Page load first record should be displayed in the textboxes. Clicking on next should display the next record
and so on.

3. Repeat the assignments of shopping cart using database. Product details must be fetched from database.
4. Repeat the Quiz application from database. Questions must be fetched from database.
5. Write a program to create a file in php and perform the following operations:
a. Write contents to file.
b. Display the contents on html page.
c. Copy the contents of one file into another.

Você também pode gostar