This repository contains all my PHP learning practice files.
-
Basic/
- variables.php
- data_types.php
- if_else.php
- loops.php
- string_functions.php
- arithmetic_operators.php
-
Advance/
- functions.php
- arrays.php
- associative_arrays.php
- checkboxes.php
- radio_buttons.php
- forms_post_get.php
- sanitize_validate.php
- cookies_super_global.php
- sessions_super_global.php
- password_hashing.php
-
registration_project/
- index.php
- database.php
- PHP Basics (variables, data types, loops, conditionals)
- Forms and superglobals ($_POST, $_GET, $_SESSION, $_COOKIE)
- Functions and string operations
- Input validation and sanitization
- Connecting PHP to MySQL
- Password hashing
-
Create/switch branch:
git checkout -b branch-name
-
Stage files:
git add filename.php
-
Commit changes:
git commit -m "your message"
-
Push to branch:
git push -u origin branch-name
Use
git status
before committing to see what’s staged or unstaged.
This helps me stay organized and track my PHP progress. 🚀