Programming in PHP ( Solved Syllabus )
UNIT 1
Introduction to PHP
Evolution of PHP & its comparison Interfaces to External systems,
Hardware and Software requirements, PHP Scripting. Basic PHP
Development, Working of PHP scripts, Basic PHP syntax, PHP data
types.
Displaying type information: Testing for a specific data type, Changing
type with Set type, Operators, Variable manipulation, Dynamic variables
and Variable scope
UNIT 2
Control Statements
if() and elseif() condition Statement, The switch statement, Using the?
Operator, Using the while() Loop, The do while statement, Using the for()
Loop.
Functions
Function definition, Creation, Returning values, Library Functions, Userdefined functions, Dynamic function, default arguments, Passing
arguments to a function by value.
String Manipulation
Formatting String for Presentation, Formatting String for Storage, Joining
and Splitting String, Comparing String.
Array
Anatomy of an Array, Creating index based and Associative array,
Looping array using each() and foreach() loop.
UNIT 3
Forms
Working with Forms, Super global variables, Super global array,
Importing user input, Accessing user input, Combine HTML and PHP
code, Using hidden fields, Redirecting the user.
Working with File and Directories
Understanding file & directory, Opening and closing a file, Coping,
renaming and deleting a file, Working with directories, File Uploading &
Downloading. Generating Images with PHP: Basics computer Graphics,
Creating Image
UNIT 4
Database Connectivity with MySql
Introduction to RDBMS, Connection with MySql Database, Performing
basic database operation (DML) (Insert, Delete, Update, Select).