This repository is designed for absolute beginners who want to learn the fundamentals of PHP (Hypertext Preprocessor).
It covers basic concepts with simple examples to help you understand how PHP works.
PHP is a server-side scripting language mainly used for web development.
It can be embedded into HTML and is widely used to build dynamic websites and web applications.
Before you start, make sure you have:
- PHP installed (version 7.x or later recommended)
- A local server such as:
- XAMPP
- WAMP
- MAMP
- Laragon
- A code editor:
- VS Code
- Sublime Text
- Notepad++
- Install XAMPP (or any PHP server).
- Place the project folder inside:
htdocs/ - Start Apache from the XAMPP control panel.
- Open your browser and visit:
http://localhost/project-folder-name/
π Topics Covered
- PHP Syntax
- Variables & Data Types
- Operators
- Conditional Statements
- Loops
- Arrays
- Functions
- Basic Output (echo, print)
π§ͺ Example Code
<?php
echo "Hello, World!";
?>/
π€ Contributing
- Contributions are welcome!
- Feel free to fork the repository and submit a pull request.