diff --git a/Screenshot_1.jpg b/Screenshot_1.jpg new file mode 100644 index 0000000..bcd5638 Binary files /dev/null and b/Screenshot_1.jpg differ diff --git a/Screenshot_2.jpg b/Screenshot_2.jpg new file mode 100644 index 0000000..398b693 Binary files /dev/null and b/Screenshot_2.jpg differ diff --git a/Screenshot_3.jpg b/Screenshot_3.jpg new file mode 100644 index 0000000..dad88db Binary files /dev/null and b/Screenshot_3.jpg differ diff --git a/Screenshot_4.jpg b/Screenshot_4.jpg new file mode 100644 index 0000000..75fc991 Binary files /dev/null and b/Screenshot_4.jpg differ diff --git a/bright.jpg b/bright.jpg new file mode 100644 index 0000000..cce973d Binary files /dev/null and b/bright.jpg differ diff --git a/connect.php b/connect.php new file mode 100644 index 0000000..fd0da68 --- /dev/null +++ b/connect.php @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/delete.php b/delete.php new file mode 100644 index 0000000..9b1f04a --- /dev/null +++ b/delete.php @@ -0,0 +1,18 @@ +"; +else + echo "Error deleting Row
" . mysqli_error($conn); + +echo "
Click below to go back"; +echo "
Home"; + +mysqli_close($conn); +?> \ No newline at end of file diff --git a/detailsstyle.css b/detailsstyle.css new file mode 100644 index 0000000..dc0fe12 --- /dev/null +++ b/detailsstyle.css @@ -0,0 +1,106 @@ +body +{ + background-image: url("bright.jpg"); + margin: 0px; +} + +input[type=text30] +{ + width: 300px; + padding: 8px 20px; + border-radius: 5px; + margin-top: 16px; + border: 1px solid rgb(189,199,216); + font-size: 20px; +} + +.custrow:after { + content: ""; + display: table; + clear: both; + margin: 0px; +} + +.logbutton +{ + background-color: yellow; + color: black; + border: 2px solid rgb(154,172,26); + border-radius: 6px; + text-align: center; + font-size: 18px; + padding: 8px 20px; + margin-top: 16px; + margin-right: 10px; + transition-duration: 0.3s; + cursor: pointer; +} + +.logbutton:hover +{ + background-color: rgb(251,190,32); + color: black; +} + +.center { + display: block; + margin-left: auto; + margin-right: auto; +} + +.thickborder +{ + border: 2px solid rgb(56,56,56); +} + +.tdroll +{ + width: 10%; +} + +.tdname +{ + width: 20%; +} + +.logbuttonbig +{ + background-color: yellow; + color: black; + border: 2px solid rgb(154,172,26); + border-radius: 6px; + text-align: center; + font-size: 24px; + padding: 12px 30px; + margin-top: 16px; + margin-right: 45px; + transition-duration: 0.3s; + cursor: pointer; + margin-left: auto; + margin-right: auto; +} + +.logbuttonbig:hover +{ + background-color: rgb(251,190,32); + color: black; +} + +input[type=text60] +{ + width: 100%; + padding: 8px 20px; + border-radius: 5px; + margin: 4px; + border: 1px solid rgb(189,199,216); + font-size: 20px; + text-align: center; +} + +.centerback +{ + margin-top: 30px; + border-radius: 15px; + background-color: rgba(255,255,255,0.3); + padding-bottom: 50px; +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..0fed223 --- /dev/null +++ b/index.html @@ -0,0 +1,72 @@ + + + + + + + + + + + + +
+
+

Details Database Operations

+
+

Choose any of the Operations Below

+
+ +
+
+
+ + + + +
+
+
+ + +
+
+
Enter Name to display specific person details, type ALL to display all details.
+
+ +
+
+
+ +
+ + +
+
+
Enter Name to delete specific person record.
+
+ + +
+
+
+ +
+ + \ No newline at end of file diff --git a/insert.php b/insert.php new file mode 100644 index 0000000..c03814b --- /dev/null +++ b/insert.php @@ -0,0 +1,23 @@ +"; +else + echo "Error inserting Values
" . mysqli_error($conn); + +echo "
Click below to go back"; +echo "
Home"; + +mysqli_close($conn); +?> \ No newline at end of file diff --git a/select.php b/select.php new file mode 100644 index 0000000..3a207ee --- /dev/null +++ b/select.php @@ -0,0 +1,52 @@ + + + + + + +DetailsDB + + + +
+ + + + + + + + +"; + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; + } +mysqli_close($conn); +?> + +
Sl No.NamePhoneE-Mail
".($i+1)."".$arr[$i]['name']."".$arr[$i]['phone']."".$arr[$i]['email']."
+
+ + + \ No newline at end of file