WAD PHP &MySQL SYLLABUS
WAD PHP &MySQL SYLLABUS
Course Objectives: To enable students to understand open-source tools to create dynamic web pages,
implement user interactivity, and gain proficiency in developing web sites
PREREQUISITE
Programming Fundamentals, SQL Basics
COURSE OUTCOMES:
Sno COURSE OUTCOMES (CO) Knowledge Level
(Blooms Level)
CO4 Use PHP's file inclusion functions, create and delete files, Open, read, 2, 3
and write files in PHP.
Draw and create new images , generate dynamic charts and graphs .
COURSE PROGRAMME
SPECIFIC OUTCOMES
OUTCOMES PROGRAMME OUTCOMES
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO1 PO11 PO12 PSO1 PSO2 PSO3
0
CO1 3 3 2 3 2 2 2 2 2 2 1 2 3 3 2
CO2 3 3 2 3 2 2 2 2 3 2 1 2 3 3 3
CO3 3 3 3 3 3 3 3 3 3 3 1 3 3 3 3
CO4 3 3 2 3 3 3 2 2 2 3 2 2 3 3 2
CO5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3
SYLLABUS
Unit-1:
The Building blocks of PHP: Variables, Data Types, Operators and Expressions, Constants. Flow
Control Functions in PHP: Switching Flow, Loops, Code Blocks and Browser Output. Working
with Functions: What is function?, Calling functions, Defining Functions, Returning the values
from User-Defined Functions, Variable Scope, Saving state between Function call switch the static
statement, more about arguments.
Unit-2:
Working with Arrays: What are Arrays? Creating Arrays, Some Array-Related Functions.
Working with Objects: Creating Objects, Object Instance Working with Strings, Dates and Time:
Formatting strings with PHP, Investigating Strings with PHP, Manipulating Strings with PHP,
Using Date and Time Functions in PHP.
Unit-3:
Working with Forms: Creating Forms, Accessing Form Input with User defined Arrays, Combining
HTML and PHP code on a single Page, Using Hidden Fields to save state, Redirecting the user,
Sending Mail on Form Submission, and Working with File Uploads. Working with Cookies and User
Sessions: Introducing Cookies, Setting a Cookie with PHP, Session Function Overview, Starting a
Session, Working with session variables, passing session IDs in the Query String, Destroying Sessions
and Unsetting Variables, Using Sessions in an Environment with Registered Users.
Unit-4:
Working with Files and Directories: Including Files with include(), Validating Files, Creating
and Deleting Files, Opening a File for Writing, Reading or Appending, Reading from Files,
Writing or Appending to a File, Working with Directories, Open Pipes to and from Process Using
popen(), Running Commands with exec(), Running Commands with system() or passthru().
Unit-5:
Interacting with MySQL using PHP: MySQL Versus MySQLi Functions, Connecting to
MySQL with PHP, Working with MySQL Data.
Creating an Online Address Book: Planning and Creating Database Tables, Creating Menu,
Creating Record Addition Mechanism, Viewing Records, Creating the Record Deletion
Mechanism, Adding Sub-entities to a Record.
References
1. JulieC.Meloni,
SAMSTeachyourselfPHPMySQLandApache,PearsonEducation(2007).
2. StevenHolzner,PHP:TheCompleteReference, McGraw-Hill
List of Experiments:
6. Create student registration form using text box, check box, radio button, select,
submit button. And display user inserted value in new PHP page.
7. Create Website Registration Form using text box, check box, radio button, select, submit
button.
10. Write a program to keep track of how many times a visitor has loaded the page.
11. Write a PHP application to perform CRUD (Create, Read, Update and Delete)
12. Create a web site using any open-source framework built on PHP and MySQL – It
is a team activity wherein students are divided into multiple groups and each groups and
each group comes up with their own website with basic features
***********