Skip to content

Commit

Permalink
Merge pull request #10 from pradipchaudhary/fea#1
Browse files Browse the repository at this point in the history
Fea#1
  • Loading branch information
pradipchaudhary authored Mar 3, 2024
2 parents 724c2cf + 9bb1bbd commit 9090e8e
Show file tree
Hide file tree
Showing 12 changed files with 7,570 additions and 178 deletions.
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ Welcome to the PHP Fundamentals repository! This repository is designed to help

🚀 #PHP #PhpFundamentals #PhpBasic #OpenSource

![learn PHP Fundamentals](./assets/php-fundamental.jpg)
![learn PHP Fundamentals](./assets/img/php-fundamental.jpg)

### **PHP Basics:**

---
# PHP Basics :

#### 1. **Introduction:**

Expand Down Expand Up @@ -53,7 +51,7 @@ $y = 5;
$sum = $x + $y;
```

### **Control Structures:**
# **Control Structures:**

#### 6. **Conditionals:**

Expand All @@ -78,7 +76,7 @@ for ($i = 0; $i < 5; $i++) {
}
```

### **Functions:**
# **Functions:**

#### 8. **Functions:**

Expand All @@ -101,7 +99,7 @@ $colors = array("Red", "Green", "Blue");
$info = array("name" => "John", "age" => 30);
```

### **File Handling:**
# **File Handling:**

#### 10. **File Handling:**

Expand All @@ -113,7 +111,7 @@ echo fread($file, filesize("example.txt"));
fclose($file);
```

### **Database Connectivity:**
# **Database Connectivity:**

#### 11. **Database Connection:**

Expand All @@ -123,7 +121,7 @@ fclose($file);
$conn = new mysqli("localhost", "username", "password", "database");
```

### **Security:**
# **Security:**

#### 12. **Security:**

Expand Down
12 changes: 9 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Learn PHP Fundamentals - PHP is Cool !</title>
<link rel="stylesheet" href="../assets/style.css" />
<link rel="stylesheet" href="../assets/css/gh-page.css" />
</head>
<body>
<!-- Header -->
Expand All @@ -21,7 +21,11 @@ <h1 class="learn-php-fundamentals">Learn PHP Fundamental</h1>

<p>
<a href="https://www.php.net/" target="_blank">
<img src="../assets/php-logo.svg" alt="php-logo" width="250" />
<img
src="../assets/img/php-logo.svg"
alt="php-logo"
width="250"
/>
</a>
</p>
<p>
Expand All @@ -34,7 +38,9 @@ <h2 id="table-of-contents">Table of Contents</h2>
<span class="site-footer-owner">Learn PHP Fundamental </span>
<span class="site-footer-credits"
>This page was created by
<a href="http://himalayaminds.com/">HimalayaMinds</a></span
<a href="http://himalayaminds.com/" target="_blank"
>HimalayaMinds</a
></span
>
</footer>
</main>
Expand Down
Loading

0 comments on commit 9090e8e

Please sign in to comment.