PHP
This training course focuses on essential PHP skills, including programming basics, functions, API integration, CRUD operations, session management, and cookies. Participants will also gain hands-on experience in building a web application with PHP, makin
Overview
This PHP training course offers a complete introduction to server-side scripting, starting with an overview of PHP and environment setup. Participants will learn programming basics, including variables, loops, and functions. The course covers key topics such as API integration, CRUD (Create, Read, Update, Delete) operations, session management, and cookies. Learners will apply their knowledge to build a dynamic web application with PHP, making it ideal for those looking to develop robust, interactive websites and backend services.
Syllabus
Introduction to the Course
Environment Setup
Code Editor
Variables
Data Types
Strings and String Functions
Math Operations
Operators
- Arithmetic operator, Assignment operator, Unary operators, Comparison operator, Shift operator, Bit wise operator, Logical operator, Conditional operator
Decision Making
- If Statement
- If Else Statement
- Nested If statement
- Else If Ladder
- Switch Statement
- Ternary Operator
Branching
- For Statement
- Nesting of For Loops
- While Statement
- Do While Statement
- Jumps in Loops
- Labeled Loops
Array
- Single dimensional Array
- Two dimensional Array
- Array Functions
- Array Keys & Values
Functions
Include & Require Functions
HTML Form and API Basics
- HTML Form
- Request Methods - GET, POST, PUT, PATCH, DELETE
- Form Input Fields
- Combine HTML and PHP Code
- Hidden Fields
- Registration Form - CRUD Operations
- JSON and XML Format
- Asynchronous Javascript and XML (AJAX)
- File Upload
PHP Session
- What is Session?
- Session Variables
- Increase Session Time
- Destroy Session
PHP Cookie
- What is Cookie?
- Session time in Cookie with PHP
- Deleting a Cookie
- Creating Session Cookie
Classes and Objects
PHP Project - Building a PHP Web Application