ASSIGNMENT 5: PHP Framework CODEIGNITER
Set A
1. Create a CSS file to apply the following styling for an HTML document.
Background color: blue,
H1
{
Color : red,
Font-family : Verdana,
Font-size : 8
}
P
{
Color : green,
Font-family : Monospace,
Font-size :10
}
2. Add a Javascript file in codeigniter. The javascript code should check whether a
number is positive or negative.
Set B
1. Create a table student having attributes (rollno, name, class). Assume appropriate data types for the attributes. Using Codeigniter , connect to the database and insert minimum 5 records in it.
2. For the above table student, display all its records using Codeigniter.
Set C
1. Create a form to accept personal details of customer (name, age, address). Once the personal information is accepted, on the next page accept order details such as (product name, quantity). Display the personal details and order details on the third page. (Use cookies)
2. Write a PHP script to accept Employee details ( Eno, Ename, address) on first page. On second page accept earning (Basic, Da, HRA). On third page print Employee information( ENO,Ename, Address, BASIC, DA, HRA, TOTAL) (Use Session)
No comments:
Post a Comment