From 746eff9b25c979041618f25f9bcc04c6847c1044 Mon Sep 17 00:00:00 2001
From: Internshala-Online-Trainings
<48007951+Internshala-Online-Trainings@users.noreply.github.com>
Date: Mon, 4 Mar 2019 12:34:19 +0530
Subject: [PATCH] Add files via upload
---
.../Topic 01 - PHP Introduction/PHP/ReadMe.md | 8 +++
.../PHP/php_introduction.php | 3 +
.../Topic 02 - Basics/Basic Syntax/ReadMe.md | 8 +++
.../Basic Syntax/html_in_echo_statement.php | 12 ++++
.../Basic Syntax/multiple_line_comment.php | 14 +++++
.../Basic Syntax/php_in_title.php | 12 ++++
.../Basic Syntax/single_line_comment.php | 12 ++++
.../Topic 02 - Basics/Concatenation/ReadMe.md | 8 +++
.../concatenation_of_different_datatypes.php | 13 ++++
.../Concatenation/concatention_of_strings.php | 13 ++++
.../ReadMe.md | 8 +++
.../addition.php | 14 +++++
.../gettype.php | 13 ++++
.../Arrays/ReadMe.md | 8 +++
.../Arrays/associative_array.php | 13 ++++
.../Arrays/indexed_array.php | 13 ++++
.../Arrays/print_r.php | 12 ++++
.../Arrays/sizeof.php | 14 +++++
.../Arrays/two_dimensional_array.php | 13 ++++
.../Functions/ReadMe.md | 8 +++
.../Functions/sum_function.php | 21 +++++++
.../Functions/sum_function_with_echo.php | 21 +++++++
.../Strings/ReadMe.md | 8 +++
.../Strings/concatenation.php | 4 ++
.../Strings/declare_string_variable.php | 4 ++
.../Strings/echo_double_quotes.php | 4 ++
.../Strings/strlen.php | 6 ++
.../Strings/variable_inside_double_quotes.php | 5 ++
.../Strings/variable_inside_single_quotes.php | 5 ++
.../Topic 04 - Loops/For & Foreach/ReadMe.md | 8 +++
.../Topic 04 - Loops/For & Foreach/for.php | 6 ++
.../foreach-assosiative-array.php | 7 +++
.../For & Foreach/foreach-indexed-array.php | 7 +++
.../Topic 04 - Loops/Loops/ReadMe.md | 8 +++
.../Loops/boolean-variable.php | 9 +++
.../Topic 04 - Loops/Loops/if-else-if.php | 13 ++++
.../Topic 04 - Loops/Loops/if-else.php | 9 +++
.../Topic 04 - Loops/While Loops/ReadMe.md | 8 +++
.../Topic 04 - Loops/While Loops/while.php | 8 +++
.../Database Connection/ReadMe.md | 8 +++
.../Database Connection/mysqli_connect.php | 4 ++
.../Displaying Users Data/ReadMe.md | 8 +++
.../mysql_fetch_array_used_twice.php | 16 +++++
.../mysqli_fetch_array.php | 9 +++
...qli_fetch_array_with_assosiative_array.php | 10 ++++
.../Select Query in PHP/ReadMe.md | 8 +++
.../Select Query in PHP/mysqli_num_rows.php | 8 +++
.../Select Query in PHP/mysqli_query.php | 6 ++
.../ReadMe.md | 8 +++
.../products_purchased_function.php | 53 +++++++++++++++++
.../ReadMe.md | 8 +++
.../mysqli_fetch_array_with_bootstrap.php | 38 ++++++++++++
.../mysqli_fetch_array_with_while_loop.php | 40 +++++++++++++
.../Inserting Data Using Forms/ReadMe.md | 8 +++
.../Inserting Data Using Forms/index.php | 50 ++++++++++++++++
.../user_registration_script.php | 11 ++++
.../Security Features/ReadMe.md | 8 +++
.../Security Features/index.php | 50 ++++++++++++++++
.../user_registration_script.php | 12 ++++
.../Topic 09 - Sessions/Sessions/ReadMe.md | 8 +++
.../Topic 09 - Sessions/Sessions/index.php | 50 ++++++++++++++++
.../Sessions/index_with_isset.php | 59 +++++++++++++++++++
.../Topic 09 - Sessions/Sessions/logout.php | 5 ++
.../Sessions/update_name.php | 10 ++++
.../Sessions/user_registration_script.php | 14 +++++
.../Include/ReadMe.md | 8 +++
.../Include/common.php | 5 ++
.../Include/header.php | 14 +++++
.../Include/index-with-common-file.php | 25 ++++++++
.../Include/index-with-include.php | 22 +++++++
.../Include/index-with-require.php | 25 ++++++++
.../Security Features/ReadMe.md | 8 +++
.../Security Features/md5.php | 5 ++
.../PHP Validation/ReadMe.md | 8 +++
.../index-_with_error_message.php | 40 +++++++++++++
.../PHP Validation/index.php | 37 ++++++++++++
.../PHP Validation/login_script.php | 16 +++++
.../login_script_with_header.php | 15 +++++
.../Validations/ReadMe.md | 8 +++
.../Validations/index.php | 37 ++++++++++++
80 files changed, 1162 insertions(+)
create mode 100644 Module 4 - PHP/Topic 01 - PHP Introduction/PHP/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 01 - PHP Introduction/PHP/php_introduction.php
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Basic Syntax/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Basic Syntax/html_in_echo_statement.php
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Basic Syntax/multiple_line_comment.php
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Basic Syntax/php_in_title.php
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Basic Syntax/single_line_comment.php
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Concatenation/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Concatenation/concatenation_of_different_datatypes.php
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Concatenation/concatention_of_strings.php
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/addition.php
create mode 100644 Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/gettype.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/associative_array.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/indexed_array.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/print_r.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/sizeof.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/two_dimensional_array.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/sum_function.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/sum_function_with_echo.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/concatenation.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/declare_string_variable.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/echo_double_quotes.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/strlen.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/variable_inside_double_quotes.php
create mode 100644 Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/variable_inside_single_quotes.php
create mode 100644 Module 4 - PHP/Topic 04 - Loops/For & Foreach/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 04 - Loops/For & Foreach/for.php
create mode 100644 Module 4 - PHP/Topic 04 - Loops/For & Foreach/foreach-assosiative-array.php
create mode 100644 Module 4 - PHP/Topic 04 - Loops/For & Foreach/foreach-indexed-array.php
create mode 100644 Module 4 - PHP/Topic 04 - Loops/Loops/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 04 - Loops/Loops/boolean-variable.php
create mode 100644 Module 4 - PHP/Topic 04 - Loops/Loops/if-else-if.php
create mode 100644 Module 4 - PHP/Topic 04 - Loops/Loops/if-else.php
create mode 100644 Module 4 - PHP/Topic 04 - Loops/While Loops/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 04 - Loops/While Loops/while.php
create mode 100644 Module 4 - PHP/Topic 05 - Database Connection/Database Connection/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 05 - Database Connection/Database Connection/mysqli_connect.php
create mode 100644 Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysql_fetch_array_used_twice.php
create mode 100644 Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysqli_fetch_array.php
create mode 100644 Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysqli_fetch_array_with_assosiative_array.php
create mode 100644 Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/mysqli_num_rows.php
create mode 100644 Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/mysqli_query.php
create mode 100644 Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Data Calculation Using Functions/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Data Calculation Using Functions/products_purchased_function.php
create mode 100644 Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Display Data Using HTML & Bootstrap/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Display Data Using HTML & Bootstrap/mysqli_fetch_array_with_bootstrap.php
create mode 100644 Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Display Data Using HTML & Bootstrap/mysqli_fetch_array_with_while_loop.php
create mode 100644 Module 4 - PHP/Topic 08 - Form/Inserting Data Using Forms/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 08 - Form/Inserting Data Using Forms/index.php
create mode 100644 Module 4 - PHP/Topic 08 - Form/Inserting Data Using Forms/user_registration_script.php
create mode 100644 Module 4 - PHP/Topic 08 - Form/Security Features/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 08 - Form/Security Features/index.php
create mode 100644 Module 4 - PHP/Topic 08 - Form/Security Features/user_registration_script.php
create mode 100644 Module 4 - PHP/Topic 09 - Sessions/Sessions/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 09 - Sessions/Sessions/index.php
create mode 100644 Module 4 - PHP/Topic 09 - Sessions/Sessions/index_with_isset.php
create mode 100644 Module 4 - PHP/Topic 09 - Sessions/Sessions/logout.php
create mode 100644 Module 4 - PHP/Topic 09 - Sessions/Sessions/update_name.php
create mode 100644 Module 4 - PHP/Topic 09 - Sessions/Sessions/user_registration_script.php
create mode 100644 Module 4 - PHP/Topic 10 - Basic security/Include/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 10 - Basic security/Include/common.php
create mode 100644 Module 4 - PHP/Topic 10 - Basic security/Include/header.php
create mode 100644 Module 4 - PHP/Topic 10 - Basic security/Include/index-with-common-file.php
create mode 100644 Module 4 - PHP/Topic 10 - Basic security/Include/index-with-include.php
create mode 100644 Module 4 - PHP/Topic 10 - Basic security/Include/index-with-require.php
create mode 100644 Module 4 - PHP/Topic 10 - Basic security/Security Features/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 10 - Basic security/Security Features/md5.php
create mode 100644 Module 4 - PHP/Topic 11 - Validations with HTML5_PHP/PHP Validation/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 11 - Validations with HTML5_PHP/PHP Validation/index-_with_error_message.php
create mode 100644 Module 4 - PHP/Topic 11 - Validations with HTML5_PHP/PHP Validation/index.php
create mode 100644 Module 4 - PHP/Topic 11 - Validations with HTML5_PHP/PHP Validation/login_script.php
create mode 100644 Module 4 - PHP/Topic 11 - Validations with HTML5_PHP/PHP Validation/login_script_with_header.php
create mode 100644 Module 4 - PHP/Topic 11 - Validations with HTML5_PHP/Validations/ReadMe.md
create mode 100644 Module 4 - PHP/Topic 11 - Validations with HTML5_PHP/Validations/index.php
diff --git a/Module 4 - PHP/Topic 01 - PHP Introduction/PHP/ReadMe.md b/Module 4 - PHP/Topic 01 - PHP Introduction/PHP/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 01 - PHP Introduction/PHP/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 01 - PHP Introduction/PHP/php_introduction.php b/Module 4 - PHP/Topic 01 - PHP Introduction/PHP/php_introduction.php
new file mode 100644
index 0000000..7eb9482
--- /dev/null
+++ b/Module 4 - PHP/Topic 01 - PHP Introduction/PHP/php_introduction.php
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/ReadMe.md b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/html_in_echo_statement.php b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/html_in_echo_statement.php
new file mode 100644
index 0000000..85bb3c3
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/html_in_echo_statement.php
@@ -0,0 +1,12 @@
+
+
+
+ PHP Syntax
+
+
+ I am the Batman!";
+ ?>
+
+
diff --git a/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/multiple_line_comment.php b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/multiple_line_comment.php
new file mode 100644
index 0000000..8569235
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/multiple_line_comment.php
@@ -0,0 +1,14 @@
+
+
+
+ PHP Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/php_in_title.php b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/php_in_title.php
new file mode 100644
index 0000000..6537e4f
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/php_in_title.php
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+ I am the Batman!";
+ ?>
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/single_line_comment.php b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/single_line_comment.php
new file mode 100644
index 0000000..83f9f56
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Basic Syntax/single_line_comment.php
@@ -0,0 +1,12 @@
+
+
+
+ PHP Syntax
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 02 - Basics/Concatenation/ReadMe.md b/Module 4 - PHP/Topic 02 - Basics/Concatenation/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Concatenation/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 02 - Basics/Concatenation/concatenation_of_different_datatypes.php b/Module 4 - PHP/Topic 02 - Basics/Concatenation/concatenation_of_different_datatypes.php
new file mode 100644
index 0000000..5ef4666
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Concatenation/concatenation_of_different_datatypes.php
@@ -0,0 +1,13 @@
+
+
+
+ Variables, Data types and Operators
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 02 - Basics/Concatenation/concatention_of_strings.php b/Module 4 - PHP/Topic 02 - Basics/Concatenation/concatention_of_strings.php
new file mode 100644
index 0000000..1745711
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Concatenation/concatention_of_strings.php
@@ -0,0 +1,13 @@
+
+
+
+ Variables, Data types and Operators
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/ReadMe.md b/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/addition.php b/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/addition.php
new file mode 100644
index 0000000..8aec40d
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/addition.php
@@ -0,0 +1,14 @@
+
+
+
+ Variables, Data types and Operators
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/gettype.php b/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/gettype.php
new file mode 100644
index 0000000..0dd46f4
--- /dev/null
+++ b/Module 4 - PHP/Topic 02 - Basics/Variables, Datatypes, and Operators/gettype.php
@@ -0,0 +1,13 @@
+
+
+
+ Variables, Data types and Operators
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/ReadMe.md b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/associative_array.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/associative_array.php
new file mode 100644
index 0000000..bdd316d
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/associative_array.php
@@ -0,0 +1,13 @@
+
+
+
+ Arrays
+
+
+ 18, "second_number" => 12);
+ $sum = $numbers["first_number"] + $numbers["second_number"];
+ echo "Sum of two variables is " . $sum . ".";
+ ?>
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/indexed_array.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/indexed_array.php
new file mode 100644
index 0000000..204a085
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/indexed_array.php
@@ -0,0 +1,13 @@
+
+
+
+ Arrays
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/print_r.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/print_r.php
new file mode 100644
index 0000000..e2e80bd
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/print_r.php
@@ -0,0 +1,12 @@
+
+
+
+ Arrays
+
+
+ 18, "second_number" => 12);
+ print_r($numbers);
+ ?>
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/sizeof.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/sizeof.php
new file mode 100644
index 0000000..e355d60
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/sizeof.php
@@ -0,0 +1,14 @@
+
+
+
+ Arrays
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/two_dimensional_array.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/two_dimensional_array.php
new file mode 100644
index 0000000..2192808
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Arrays/two_dimensional_array.php
@@ -0,0 +1,13 @@
+
+
+
+ Arrays
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/ReadMe.md b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/sum_function.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/sum_function.php
new file mode 100644
index 0000000..17bcf89
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/sum_function.php
@@ -0,0 +1,21 @@
+
+
+
+
+ Functions
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/sum_function_with_echo.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/sum_function_with_echo.php
new file mode 100644
index 0000000..cd732c4
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Functions/sum_function_with_echo.php
@@ -0,0 +1,21 @@
+
+
+
+
+ Functions
+
+
+
+
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/ReadMe.md b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/concatenation.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/concatenation.php
new file mode 100644
index 0000000..4f9fb71
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/concatenation.php
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/declare_string_variable.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/declare_string_variable.php
new file mode 100644
index 0000000..9cbce16
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/declare_string_variable.php
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/echo_double_quotes.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/echo_double_quotes.php
new file mode 100644
index 0000000..810dbb6
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/echo_double_quotes.php
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/strlen.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/strlen.php
new file mode 100644
index 0000000..14eb9be
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/strlen.php
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/variable_inside_double_quotes.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/variable_inside_double_quotes.php
new file mode 100644
index 0000000..ce056a8
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/variable_inside_double_quotes.php
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/variable_inside_single_quotes.php b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/variable_inside_single_quotes.php
new file mode 100644
index 0000000..95d3f02
--- /dev/null
+++ b/Module 4 - PHP/Topic 03 - Functions_Arrays_Strings/Strings/variable_inside_single_quotes.php
@@ -0,0 +1,5 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 04 - Loops/For & Foreach/ReadMe.md b/Module 4 - PHP/Topic 04 - Loops/For & Foreach/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/For & Foreach/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 04 - Loops/For & Foreach/for.php b/Module 4 - PHP/Topic 04 - Loops/For & Foreach/for.php
new file mode 100644
index 0000000..a655eb1
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/For & Foreach/for.php
@@ -0,0 +1,6 @@
+";
+}
+?>
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 04 - Loops/For & Foreach/foreach-assosiative-array.php b/Module 4 - PHP/Topic 04 - Loops/For & Foreach/foreach-assosiative-array.php
new file mode 100644
index 0000000..bdcb7eb
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/For & Foreach/foreach-assosiative-array.php
@@ -0,0 +1,7 @@
+ 4, "second_number" => 8);
+foreach ($marks as $mark_index => $mark_value) {
+ echo "The index is $mark_index, the value is $mark_value
";
+}
+?>
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 04 - Loops/For & Foreach/foreach-indexed-array.php b/Module 4 - PHP/Topic 04 - Loops/For & Foreach/foreach-indexed-array.php
new file mode 100644
index 0000000..b762118
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/For & Foreach/foreach-indexed-array.php
@@ -0,0 +1,7 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 04 - Loops/Loops/ReadMe.md b/Module 4 - PHP/Topic 04 - Loops/Loops/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/Loops/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 04 - Loops/Loops/boolean-variable.php b/Module 4 - PHP/Topic 04 - Loops/Loops/boolean-variable.php
new file mode 100644
index 0000000..b9e688c
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/Loops/boolean-variable.php
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 04 - Loops/Loops/if-else-if.php b/Module 4 - PHP/Topic 04 - Loops/Loops/if-else-if.php
new file mode 100644
index 0000000..dccff1f
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/Loops/if-else-if.php
@@ -0,0 +1,13 @@
+ 40) && ($marks < 90)) {
+ echo "The student has passed";
+} else if ($marks > 90) {
+ echo "The student is in the merit list";
+} else {
+ echo "The student has failed.";
+}
+?>
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 04 - Loops/Loops/if-else.php b/Module 4 - PHP/Topic 04 - Loops/Loops/if-else.php
new file mode 100644
index 0000000..eeadd42
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/Loops/if-else.php
@@ -0,0 +1,9 @@
+= 40) {
+ echo "The student has passed";
+} else {
+ echo "The student has failed";
+}
+?>
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 04 - Loops/While Loops/ReadMe.md b/Module 4 - PHP/Topic 04 - Loops/While Loops/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/While Loops/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 04 - Loops/While Loops/while.php b/Module 4 - PHP/Topic 04 - Loops/While Loops/while.php
new file mode 100644
index 0000000..6909652
--- /dev/null
+++ b/Module 4 - PHP/Topic 04 - Loops/While Loops/while.php
@@ -0,0 +1,8 @@
+";
+ $counter++;
+}
+?>
diff --git a/Module 4 - PHP/Topic 05 - Database Connection/Database Connection/ReadMe.md b/Module 4 - PHP/Topic 05 - Database Connection/Database Connection/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 05 - Database Connection/Database Connection/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 05 - Database Connection/Database Connection/mysqli_connect.php b/Module 4 - PHP/Topic 05 - Database Connection/Database Connection/mysqli_connect.php
new file mode 100644
index 0000000..8fce559
--- /dev/null
+++ b/Module 4 - PHP/Topic 05 - Database Connection/Database Connection/mysqli_connect.php
@@ -0,0 +1,4 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/ReadMe.md b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysql_fetch_array_used_twice.php b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysql_fetch_array_used_twice.php
new file mode 100644
index 0000000..ebfcbd4
--- /dev/null
+++ b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysql_fetch_array_used_twice.php
@@ -0,0 +1,16 @@
+";
+echo $row['email'] . "
";
+echo $row['first_name'] . "
";
+
+
+$row = mysqli_fetch_array($select_query_result);
+echo $row['id'] . "
";
+echo $row['email'] . "
";
+echo $row['first_name'] . "
";
+?>
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysqli_fetch_array.php b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysqli_fetch_array.php
new file mode 100644
index 0000000..d8b86be
--- /dev/null
+++ b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysqli_fetch_array.php
@@ -0,0 +1,9 @@
+";
+echo $row[1]."
";
+echo $row[2];
diff --git a/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysqli_fetch_array_with_assosiative_array.php b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysqli_fetch_array_with_assosiative_array.php
new file mode 100644
index 0000000..da62ba0
--- /dev/null
+++ b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Displaying Users Data/mysqli_fetch_array_with_assosiative_array.php
@@ -0,0 +1,10 @@
+";
+echo $row['email'] . "
";
+echo $row['first_name'];
+?>
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/ReadMe.md b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/mysqli_num_rows.php b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/mysqli_num_rows.php
new file mode 100644
index 0000000..95bd821
--- /dev/null
+++ b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/mysqli_num_rows.php
@@ -0,0 +1,8 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/mysqli_query.php b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/mysqli_query.php
new file mode 100644
index 0000000..f6112ce
--- /dev/null
+++ b/Module 4 - PHP/Topic 06 - SELECT Query with PHP (Part I)/Select Query in PHP/mysqli_query.php
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Data Calculation Using Functions/ReadMe.md b/Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Data Calculation Using Functions/ReadMe.md
new file mode 100644
index 0000000..d4fd5b1
--- /dev/null
+++ b/Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Data Calculation Using Functions/ReadMe.md
@@ -0,0 +1,8 @@
+Steps to open the folder in netbeans:
+1. Open netbeans.
+2. Click on file in the top menu.
+3. Choose New Project option.
+4. Choose PHP category and in Projects section, choose PHP Application with Existing Source.
+5. For Site Root, browse to the folder where you have extracted these files.
+6. Click on finish.
+7. The folder will open in netbeans.
diff --git a/Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Data Calculation Using Functions/products_purchased_function.php b/Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Data Calculation Using Functions/products_purchased_function.php
new file mode 100644
index 0000000..2709e1e
--- /dev/null
+++ b/Module 4 - PHP/Topic 07 - SELECT Query with PHP (Part II)/Data Calculation Using Functions/products_purchased_function.php
@@ -0,0 +1,53 @@
+
+
+
+
+ Users
+
+
+
+
+
+
+
+
+
+
+
+