This course is designed to provide a thorough introduction to PHP, guiding participants from the basics to advanced concepts in back-end development. Covering PHP fundamentals, control structures, arrays, functions, object-oriented programming, and database integration, this program ensures a comprehensive foundation in PHP web development. Taught by industry professionals, participants will engage in practical projects and build a full-featured web application, preparing them for more advanced PHP frameworks and web development roles.
Whether you’re new to programming or seeking to build robust server-side skills, this course will equip you with the expertise needed to excel in back-end development.
Why Choose CDIP:
- Expert Trainers: Learn from seasoned professionals with real-world experience.
- Hands-On Training: Work on practical assignments and projects.
- Certification: Receive a completion certificate from CDIP, UIU.
- Career Support: Access resources for CV development and interview preparation.
- Flexible Schedule: Weekly Saturday classes that fit your timetable.
Who Should Attend:
- Beginners entering web development.
- Students aspiring to gain back-end development skills.
- Graduates looking to strengthen their PHP knowledge.
- Developers wanting to deepen their understanding of PHP.
This course provides an ideal start for anyone interested in a career in web development, laying a strong foundation in PHP—the language that powers countless websites and applications.

Name: Md Siam Hossain Sarker
Designation: Software Engineer
Company: Bit Mascot (Pvt.) Ltd.
Linkedin: Md Siam Hossain Sarker
PHP: Basic to Advanced (12 Classes)
Class 1: Introduction to Web Development and PHP Basics
1.1 Concepts:
- Overview of Web Development:
- What is web development?
- Understanding client-server architecture.
- Differences between front-end and back-end development.
- Introduction to PHP:
- What is PHP? History and purpose.
- Advantages of using PHP for web development.
- Basic PHP Syntax:
- Variables: Declaration and usage.
- Comments: Single-line and multi-line comments.
- Output: Using
echoandprint.
1.2 Practical:
- Setting Up the Environment:
- Install XAMPP/WAMP and configure.
- Set up VSCode or Sublime Text.
- Creating a PHP Script:
- Write a simple “Hello World” PHP script.
- Run the script on the local server.
1.3 Assignment:
- Create a PHP script that prints your name and a short introduction.
- Use comments to explain the code.
Class 2: HTML Basics, PHP Control Structures, Logic, and Functions
2.1 Concepts:
- HTML Basics:
- Definition and purpose of HTML.
- Structure of an HTML document:
<html>,<head>,<body>. - Common HTML tags: Headings, paragraphs, links, images, lists, and forms.
- Embedding PHP within HTML:
- Using PHP to generate dynamic content in HTML.
- PHP short tags and mixing PHP and HTML.
- PHP Control Structures:
- Conditional Statements:
if,else,elseif,switch. - Logical Operators:
AND,OR,NOT. - Comparison Operators:
<,>,==,!=,<=,>=.
- Conditional Statements:
- Loops in PHP:
ForLoop: Syntax and use cases.WhileLoop: When to use it.ForeachLoop: Specifically for arrays.
- Introduction to Functions in PHP:
- Definition and purpose of functions.
- Importance of reusability and organization in code.
- Function Syntax:
function name() { }. - Parameters and return values.
- Variable scope: Local vs global variables.
2.2 Practical:
- Creating an HTML Form:
- Build a simple HTML form with various input types (text, radio, checkbox).
- Include a submit button.
- Processing Form Data:
- Use PHP to process the form data submitted by the user.
- Implement conditional statements to display different messages based on user input.
- Dynamic Content with Loops:
- Write PHP scripts that loop through arrays or numbers to display results dynamically.
- Create functions to encapsulate logic and calculations.
2.3 Assignment:
- Create an HTML form that collects user input (e.g., name, score).
- Process the input using PHP, conditionally display a message (e.g., “Pass” or “Fail”) based on a grading system.
- Build a function that calculates grades based on the score input and test it with various values, printing the results.
Class 3: Working with Arrays and Array Functions
3.1 Concepts:
- Introduction to Arrays:
- Types of arrays: Indexed, associative, and multidimensional.
- How to create arrays in PHP.
- Common Array Functions:
- Functions like
count(),sort(),array_merge(),array_slice().
- Functions like
3.2 Practical:
- Create and manipulate arrays.
- Use array functions to process and display data.
3.3 Assignment:
- Build a script that accepts multiple scores, stores them in an array, and calculates the average.
Class 4: Handling Forms and User Input
4.1 Concepts:
- Overview of HTML Forms:
- Input types: Text, radio buttons, checkboxes, dropdowns.
- Understanding form attributes:
action,method,name.
- PHP Superglobals:
- Understanding
$_GET,$_POST, and$_REQUEST.
- Understanding
4.2 Practical:
- Create a Registration Form:
- Collect user data and implement form handling in PHP.
- Validate and process the input.
4.3 Assignment:
- Build a login form that checks for user credentials and validates the input.
Class 5: Introduction to OOP in PHP
5.1 Concepts:
- What is OOP?
- Principles of Object-Oriented Programming: Encapsulation, inheritance, polymorphism.
- Creating Classes and Objects:
- Syntax for defining classes.
- Creating and using objects.
5.2 Practical:
- Define a simple class with properties and methods.
- Create objects and call their methods.
5.3 Assignment:
- Build a
Bookclass with properties like title, author, and methods to display book details.
Class 6: Advanced OOP Concepts
6.1 Concepts:
- Inheritance in PHP:
- How to create subclasses and extend parent classes.
- Interfaces and Abstract Classes:
- Definition and usage of interfaces.
- Creating abstract classes and methods.
6.2 Practical:
- Create parent and child classes demonstrating inheritance.
- Implement an interface in a class.
6.3 Assignment:
- Demonstrate inheritance and interface usage by building a simple project with multiple related classes.
Class 7: Introduction to Databases and MySQL
7.1 Concepts:
- Introduction to Databases:
- What is a database? Understanding relational databases.
- SQL Basics:
- Introduction to SQL:
CREATE,INSERT,SELECT,UPDATE,DELETE.
- Introduction to SQL:
7.2 Practical:
- Setting up a MySQL database and creating tables.
- Connecting PHP to MySQL using
mysqliorPDO.
7.3 Assignment:
- Build a user registration system that stores user data in the MySQL database.
Class 8: Introduction to Project, Git and GitHub
8.1 Concepts:
- Overview of CRUD Operations:
- Explanation of Create, Read, Update, and Delete operations.
- Importance of CRUD in web applications.
- Importance of Version Control:
- Why use version control systems?
8.2 Practical:
- Setting Up the Project:
- Introduce a user management system as the class project.
- Discuss project scope and requirements.
- Version Control with Git:
- Basic Git commands:
git init,git add,git commit,git push. - Create a local Git repository for the project.
- Basic Git commands:
8.3 Assignment:
- Start building the user management system, focusing on implementing the Create functionality.
- Push the initial project structure to GitHub and maintain version history.
Class 9: Development of CRUD Functionality for the User Management Project
9.1 Concepts:
- Database Interaction:
- Performing CRUD operations using SQL in PHP.
- Structuring database tables for user data.
9.2 Practical:
- Implement the Read and Update functionalities:
- Create forms for displaying user data and updating records.
- Introduce error handling for database operations.
9.3 Assignment:
- Complete the CRUD operations for the user management system.
- Include validation for user input and handle potential errors.
Class 10: Sessions and Cookies and Project Updates
10.1 Concepts:
- Understanding Sessions:
- What are sessions? How to start a session and store data.
- Introduction to Cookies:
- Setting and retrieving cookies in PHP.
10.2 Practical:
- Create a login system using sessions to manage user authentication.
- Use cookies to remember user preferences.
10.3 Assignment:
- Enhance the user management system to maintain user login state using sessions and cookies.
Class 11-12: Final Project Completion and Review
11.1 & 12.1 Concepts:
- Completing the Project:
- Finalizing the CRUD operations and ensuring all functionalities work seamlessly.
- Reviewing Key Concepts:
- Recap of important topics covered throughout the course.
12.2 Practical:
- Finalize the project, including debugging and polishing the code.
12.3 Assignment:
- Submit the completed project for review and prepare for a presentation/demo of the final product.










