This document outlines the chapters and practical assignments for a course on PHP and MySQL. It lists 9 chapters on basic PHP programming, built-in functions, forms, sessions, cookies, error handling, and MySQL databases. Students will complete practical assignments involving writing PHP scripts to demonstrate various PHP concepts and connecting to a MySQL database to perform CRUD operations. The document provides the start and end dates for each practical assignment.
This document outlines the chapters and practical assignments for a course on PHP and MySQL. It lists 9 chapters on basic PHP programming, built-in functions, forms, sessions, cookies, error handling, and MySQL databases. Students will complete practical assignments involving writing PHP scripts to demonstrate various PHP concepts and connecting to a MySQL database to perform CRUD operations. The document provides the start and end dates for each practical assignment.
UNI Sr. CHAPTERS/PRACTICAL START END PAGE REMARKS/
SIGN GRADS TS No. Date Date No BASIC PROGRAM 1 Write a PHP script to display Welcome message. 2 Write a program to demostrate integration of HTML with PHP 3 Write a PHP script to demonstrate arithmetic operators, comparison operator, and logical operator. 4 Write PHP Script to print Fibonacci series. 1 5 Write PHP Script to generate result and display grade. 6 Write PHP Script to find maximum number out of three given numbers. 7 Write PHP script to obtain 5! Using function. 8 Write PHP Script to find area of different objects. 9 Write PHP Script to prepaire Calculator.(switch-case) BUILT-IN FUNCTIONS 1 Write PHP Script to demostrate assosiative array. 2 Write PHP script for cheacking that given number is prime or not using user- defined function. 3 Write PHP script to swap two number using user-defined function. (call by value and call by reference) 4 Write PHP script to demonstrate 2 Variable function. 5 Write PHP script to demonstrate String function. 6 Write PHP script to demonstrate Date function. 7 Write PHP script to demonstrate Math function. 8 Write PHP script to demonstrate Array function. 9 Write PHP script to demonstrate File function. UNI Sr. CHAPTERS/PRACTICAL START END PAGE REMARKS/ SIGN GRADS TS No. Date Date No FORMS 1 Create student registration form using text box, check box, radio button, select, submit button. And display user inserted value in new PHP page.
2 Create Website Registration Form using
text box, check box, radio button, select, submit button. And display user 3 inserted value in same PHP page.(PHP_SELF) 3 Create employee registration form using text box, check box, radio button, select, submit button. And display user inserted value in new PHP page using $_REQUEST[]. 4 Create PHP script that can upload any type of file to the specific folder. SESSION, COOKIES AND ERROR HANDLING 1 Write two different PHP script to demonstrate passing variables through a URL. 2 Write two different PHP script to demonstrate passing variables with 4 sessions. 3 Write PHP script to demonstrate passing variables with cookies. 4 Write a program to keep track of how many times a visitor has loaded the page. 6 Write an example of Error-handling using exceptions. MYSQL DATABASE 1 Write a PHP script to connect MySQL server from your website. 2 Write a program to read customer information like cust_no, cust_name, Item_purchase, and mob_no, from customer table and display all these information in table format on output screen. 5 3 Write a program to edit name of customer to “Bob” with cust_no =1, and to delete record with cust_no=3. UNI Sr. CHAPTERS/PRACTICAL START END PAGE REMARKS/ SIGN GRADS TS No. Date Date No 4 Write a program to read employee information like emp_no, emp_name, designation and salary from EMP table and display all this information using table format. 6 Create a dynamic web site using PHP and MySQL.