diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/10_jquery_animation.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/10_jquery_animation.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/10_jquery_animation.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/10_jquery_animation.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/11_json.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/11_json.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/11_json.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/11_json.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/12_AJAX.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/12_AJAX.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/12_AJAX.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/12_AJAX.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/13_simple.xml b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/13_simple.xml similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/13_simple.xml rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/13_simple.xml diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/14_dtd.xml b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/14_dtd.xml similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/14_dtd.xml rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/14_dtd.xml diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/15_simple-complex.xml b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/15_simple-complex.xml similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/15_simple-complex.xml rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/15_simple-complex.xml diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/16_xslt/books.xml b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/16_xslt/books.xml similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/16_xslt/books.xml rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/16_xslt/books.xml diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/16_xslt/transform.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/16_xslt/transform.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/16_xslt/transform.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/16_xslt/transform.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/16_xslt/transform.xslt b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/16_xslt/transform.xslt similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/16_xslt/transform.xslt rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/16_xslt/transform.xslt diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/1_alert_confirm_popup.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/1_alert_confirm_popup.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/1_alert_confirm_popup.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/1_alert_confirm_popup.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/2_objects.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/2_objects.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/2_objects.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/2_objects.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/3_array.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/3_array.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/3_array.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/3_array.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/4_built_in_objects.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/4_built_in_objects.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/4_built_in_objects.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/4_built_in_objects.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/5_client-side-validation.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/5_client-side-validation.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/5_client-side-validation.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/5_client-side-validation.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/6_handling_events.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/6_handling_events.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/6_handling_events.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/6_handling_events.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/7_try_catch.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/7_try_catch.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/7_try_catch.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/7_try_catch.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/8_jQuery.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/8_jQuery.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/8_jQuery.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/8_jQuery.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/9_jquery_effects.html b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/9_jquery_effects.html similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/9_jquery_effects.html rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/9_jquery_effects.html diff --git a/5th_Semester/Web_Technology/Lab5 (Javascript & XML)/README.md b/5th_Semester/Web_Technology/Lab3 (Javascript & XML)/README.md similarity index 100% rename from 5th_Semester/Web_Technology/Lab5 (Javascript & XML)/README.md rename to 5th_Semester/Web_Technology/Lab3 (Javascript & XML)/README.md diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/10_form.php b/5th_Semester/Web_Technology/Lab4 (PHP)/10_form.php new file mode 100644 index 0000000..e3283b8 --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/10_form.php @@ -0,0 +1,66 @@ + + + + + PHP Form + + + +

PHP Form Example

+ + Form Submission Results"; + echo "Name: $name
"; + echo "Email: $email
"; + echo "Gender: $gender
"; + + if (!empty($interests)) { + echo "Interests: " . implode(", ", $interests) . "
"; + } else { + echo "No interests selected.
"; + } + } + ?> + +
" method="post"> + + + +
+ + + + +
+ + + + + + + +
+ + + + + + + + + +
+ + +
+ + + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/11_file.php b/5th_Semester/Web_Technology/Lab4 (PHP)/11_file.php new file mode 100644 index 0000000..55a62ea --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/11_file.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/2_variables.php b/5th_Semester/Web_Technology/Lab4 (PHP)/2_variables.php new file mode 100644 index 0000000..039ee32 --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/2_variables.php @@ -0,0 +1,10 @@ +"; +echo $integerVar . "
"; +echo $floatVar . "
"; +echo $stringVar; +?> \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/3_if-else.php b/5th_Semester/Web_Technology/Lab4 (PHP)/3_if-else.php new file mode 100644 index 0000000..e3b881f --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/3_if-else.php @@ -0,0 +1,11 @@ + 0) { + echo "Positive"; +} elseif ($number < 0) { + echo "Negative"; +} else { + echo "Zero"; +} +?> \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/4_function.php b/5th_Semester/Web_Technology/Lab4 (PHP)/4_function.php new file mode 100644 index 0000000..8380eee --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/4_function.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/5_class.php b/5th_Semester/Web_Technology/Lab4 (PHP)/5_class.php new file mode 100644 index 0000000..65cc39c --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/5_class.php @@ -0,0 +1,13 @@ +title = "The Great Gatsby"; +$book1->author = "F. Scott Fitzgerald"; + +echo $book1->title . " by " . $book1->author; +?> \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/6_form_retrieval.php b/5th_Semester/Web_Technology/Lab4 (PHP)/6_form_retrieval.php new file mode 100644 index 0000000..746a858 --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/6_form_retrieval.php @@ -0,0 +1,19 @@ + + + Q.6 Form retrieval + + + +
+ + +
+ + + + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/7_enhancement_of_6.php b/5th_Semester/Web_Technology/Lab4 (PHP)/7_enhancement_of_6.php new file mode 100644 index 0000000..e06cb04 --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/7_enhancement_of_6.php @@ -0,0 +1,32 @@ + + + + + Q.7 Form validation + + + +
"> + + + + +
+ + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/8_button_click.php b/5th_Semester/Web_Technology/Lab4 (PHP)/8_button_click.php new file mode 100644 index 0000000..1d53f34 --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/8_button_click.php @@ -0,0 +1,14 @@ + + + Q.8 Button click + +
+ +
+ + + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/9_cookies.php b/5th_Semester/Web_Technology/Lab4 (PHP)/9_cookies.php new file mode 100644 index 0000000..c00dfaa --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/9_cookies.php @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/1_connection.php b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/1_connection.php new file mode 100644 index 0000000..381989d --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/1_connection.php @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/2_insert.php b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/2_insert.php new file mode 100644 index 0000000..cb057ab --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/2_insert.php @@ -0,0 +1,39 @@ +" . mysqli_error($conn); + } + } else { + echo "Invalid data provided."; + } + + mysqli_close($conn); +} +?> + + + + + Form validation and database insertion + + + +
"> + + + +
+ + + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/3_retrieve.php b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/3_retrieve.php new file mode 100644 index 0000000..5967d7f --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/3_retrieve.php @@ -0,0 +1,18 @@ + 0) { + echo ""; + while ($row = mysqli_fetch_assoc($result)) { + echo ""; + } + echo "
IDNameEmailUpdateDelete
" . $row["id"] . "" . $row["name"] . "" . $row["email"] . "UpdateDelete
"; +} else { + echo "0 results"; +} + +mysqli_close($conn); +?> \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/4_edit.php b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/4_edit.php new file mode 100644 index 0000000..1f8825e --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/4_edit.php @@ -0,0 +1,40 @@ +" . mysqli_error($conn); + } + } else { + echo "Invalid data provided."; + } + + mysqli_close($conn); +} +?> + + + + + Data edit + + + +
"> + + + +
+ + + \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/5_delete.php b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/5_delete.php new file mode 100644 index 0000000..1010e4a --- /dev/null +++ b/5th_Semester/Web_Technology/Lab4 (PHP)/Connecting_to_database/5_delete.php @@ -0,0 +1,14 @@ +" . mysqli_error($conn); +} + +mysqli_close($conn); +?> \ No newline at end of file diff --git a/5th_Semester/Web_Technology/Lab3 (Javascript)/README.md b/5th_Semester/Web_Technology/Lab4 (PHP)/example.txt similarity index 100% rename from 5th_Semester/Web_Technology/Lab3 (Javascript)/README.md rename to 5th_Semester/Web_Technology/Lab4 (PHP)/example.txt diff --git a/5th_Semester/Web_Technology/README.md b/5th_Semester/Web_Technology/README.md index 68a1bb8..1f46ca8 100644 --- a/5th_Semester/Web_Technology/README.md +++ b/5th_Semester/Web_Technology/README.md @@ -4,8 +4,7 @@ 1. [Lab Assignment-I (HTML)]() 2. [Lab Assignment-II (CSS)]() -3. [Lab Assignment-III (JavaScript)]() +3. [Lab Assignment-III (Javascript and XML)]() 4. [Lab Assignment-IV (PHP)]() -5. [Lab Assignment-V (Javascript and XML)]() ## [Class Codes](class_codes/README.md)