diff --git a/connect.php b/connect.php new file mode 100644 index 0000000..4a48664 --- /dev/null +++ b/connect.php @@ -0,0 +1,15 @@ +connect_error) { + die("Connection failed: " . $conn->connect_error); +} +echo "Connected successfully"; +?> \ No newline at end of file diff --git a/delete.php b/delete.php new file mode 100644 index 0000000..8d68f13 --- /dev/null +++ b/delete.php @@ -0,0 +1,17 @@ + + + + +
+ Enter the email of the data to be deleted
+
+ +
+ + + +query("DELETE FROM details WHERE email='$email'"); +?> \ No newline at end of file diff --git a/insert.html b/insert.html new file mode 100644 index 0000000..3ea8fb1 --- /dev/null +++ b/insert.html @@ -0,0 +1,29 @@ + + + +
+Name:
+Phone:
+E-mail:
+

+Name:
+Phone:
+E-mail:
+

+Name:
+Phone:
+E-mail:
+

+Name:
+Phone:
+E-mail:
+

+Name:
+Phone:
+E-mail:
+
+
+ + + + + + \ No newline at end of file diff --git a/select.php b/select.php new file mode 100644 index 0000000..d91572b --- /dev/null +++ b/select.php @@ -0,0 +1,39 @@ + + + + + + + query($sql); +?> + + + + + + +fetch_array()) { + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; +} +?>
NamePhoneEmail
" . $row['Name'] . "" . $row['Phone'] . "" . $row['Email'] . "
+ + + \ No newline at end of file diff --git a/select2.php b/select2.php new file mode 100644 index 0000000..c0b4504 --- /dev/null +++ b/select2.php @@ -0,0 +1,43 @@ + + + + + + +
+Name:
+ +
+ query($sql); +?> + + + + + + +fetch_array()) { + echo ""; + echo ""; + echo ""; + echo ""; + echo ""; +} +?>
NamePhoneEmail
" . $row['Name'] . "" . $row['Phone'] . "" . $row['Email'] . "
+ + + \ No newline at end of file diff --git a/webpage.php b/webpage.php new file mode 100644 index 0000000..be59384 --- /dev/null +++ b/webpage.php @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file