Skip to content

harishsemwal/PHP-From-Novice-to-Expert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP :

I learned complete PHP. Now I feel amazing because I have delved into the backend technology of web development.

This repository contains the code and concepts I learned during a comprehensive journey into PHP programming. Below are the topics covered in this tutorial, along with brief descriptions and links to specific code examples.

Table of Contents

  1. Prerequisites for PHP
  2. Setting up the Project
  3. Accessing the XAMPP Dashboard
  4. Creating Basic PHP Scripts
  5. Comments in PHP
  6. Variables and Data Types
  7. Operators and Precedence
  8. String and Math Functions
  9. Control Structures
  10. Loops
  11. Arrays
  12. Functions
  13. GET and POST Requests
  14. Handling Form Inputs
  15. MySQL Database Connection
  16. CRUD Operations
  17. CRUD Project
  18. Session Management
  19. Header Function
  20. Login Functionality

Prerequisites for PHP

  • Installed XAMPP for Apache, MySQL, and PHP.
  • Installed a code editor like Visual Studio Code.
  • Set up a project folder and started using the VS Code extensions such as Live Server.

Setting up the Project

  • Created a project folder and began writing PHP scripts.
  • Used the Live Server extension in VS Code for live reloading.

Accessing the XAMPP Dashboard

  • Learned how to access and navigate the XAMPP control panel.

Creating Basic PHP Scripts

  • Wrote simple PHP scripts and used the Live Server extension for real-time testing.

Comments in PHP

  • Added comments to the PHP code for better readability and understanding.

Variables and Data Types

  • Explored different data types such as strings, integers, and booleans.
  • Learned about PHP variables and their usage.

Operators and Precedence

  • Worked with arithmetic, increment/decrement, and logical operators.
  • Studied operator precedence rules in PHP.

String and Math Functions

  • Utilized functions to manipulate strings and perform mathematical operations.

Control Structures

  • Learned about if-else statements, logical operators, and switch statements.

Loops

  • Used for and while loops for repeated execution of code blocks.

Arrays

  • Worked with indexed, associative, and multidimensional arrays.

Functions

  • Created and used user-defined functions.

GET and POST Requests

  • Handled HTTP GET and POST requests in PHP.

Handling Form Inputs

  • Managed radio buttons and checkboxes in PHP.

MySQL Database Connection

  • Connected to a MySQL database using PHP.

CRUD Operations

  • Performed Create, Read, Update, and Delete operations with MySQL.

CRUD Project

  • Developed a CRUD project in PHP, demonstrating the application of CRUD operations.

Session Management

  • Managed sessions in PHP for user data and state management.

Header Function

  • Utilized the header() function to modify HTTP headers and perform redirects.

Login Functionality

  • Implemented login functionality, including session management and authentication.

Contact

Thank You so much for visiting my profile to this repository.