From 90b2e529d3b5e98170bfbc52609e470d5cfb890c Mon Sep 17 00:00:00 2001 From: VineetGurjR Date: Tue, 15 Jun 2021 10:15:45 +0530 Subject: [PATCH 1/6] updates --- .../question 1/index.php | 81 +++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 1/index.php diff --git a/End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 1/index.php b/End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 1/index.php new file mode 100644 index 000000000..9d5531e9e --- /dev/null +++ b/End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 1/index.php @@ -0,0 +1,81 @@ +connect_error) { + die("Connection failed: " . $conn->connect_error); + } + echo "Connected successfully"; + $bookName=$_POST['bookName']; + $authorName=$_POST['authorName']; + $isbnNumber=$_POST['isbnNumber']; + $publisherName = $_POST['publisherName']; + $publicationYear=$_POST['publicationYear']; + $noOfPages=$_POST['numberofpages']; + $bookType=$_POST['bookType']; + + + + $sql = "INSERT INTO books VALUES ('$bookName', '$authorName', '$isbnNumber', '$publisherName', '$publicationYear', '$noOfPages', '$bookType')"; + + if($conn->query($sql)=== TRUE){ + echo "Successfully inserted"; + } + else{ + echo "Error: " . $sql . "
" . $conn->error; + } + $conn->close(); +} + +?> + + + + + + + + Q1 + + +
+ bookName: + authorName:
+ isbnNumber: + publisherName:
+ publicationYear:
+ + +
+ BookType: +

+ + + + + \ No newline at end of file From 255df5c3975f26eb891f242c2de1bb0a7da0fb6b Mon Sep 17 00:00:00 2001 From: VineetGurjR Date: Tue, 15 Jun 2021 10:18:52 +0530 Subject: [PATCH 2/6] updates --- .../question 2/index.html | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 2/index.html diff --git a/End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 2/index.html b/End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 2/index.html new file mode 100644 index 000000000..a19e34a33 --- /dev/null +++ b/End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 2/index.html @@ -0,0 +1,60 @@ +connect_error) +{ + die("Connection failed: " . $conn->connect_error); +} +$sql = "SELECT * from books"; +$res = $conn->query($sql); +?> + + + + + + + + + + + + + + + + + +num_rows > 0) +{ + while ($row = $res->fetch_assoc()) + { ?> + + + + + + + + + + + + + + close(); +?> \ No newline at end of file From bf4e39c6a084b403e2160d9ac1d45680546f04b5 Mon Sep 17 00:00:00 2001 From: VineetGurjR Date: Tue, 15 Jun 2021 15:33:20 +0530 Subject: [PATCH 3/6] Updates --- .../question 1/index.php | 0 .../question 2/index.html | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename End Term Practicals/CSEE/{2014153_55_Vineet_Choudhary => 55_2014153_Vineet_Choudhary}/question 1/index.php (100%) rename End Term Practicals/CSEE/{2014153_55_Vineet_Choudhary => 55_2014153_Vineet_Choudhary}/question 2/index.html (100%) diff --git a/End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 1/index.php b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php similarity index 100% rename from End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 1/index.php rename to End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php diff --git a/End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 2/index.html b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html similarity index 100% rename from End Term Practicals/CSEE/2014153_55_Vineet_Choudhary/question 2/index.html rename to End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html From a6c0f0716ad1912755922425acd8830171dd071b Mon Sep 17 00:00:00 2001 From: VineetChoudhary <42797327+VineetChoudhary-geu@users.noreply.github.com> Date: Tue, 15 Jun 2021 15:51:06 +0530 Subject: [PATCH 4/6] Delete End Term Practicals/CSEE directory --- End Term Practicals/CSEE/.gitkeep | 0 .../question 1/index.php | 81 ------------------- .../question 2/index.html | 60 -------------- 3 files changed, 141 deletions(-) delete mode 100644 End Term Practicals/CSEE/.gitkeep delete mode 100644 End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php delete mode 100644 End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html diff --git a/End Term Practicals/CSEE/.gitkeep b/End Term Practicals/CSEE/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php deleted file mode 100644 index 9d5531e9e..000000000 --- a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php +++ /dev/null @@ -1,81 +0,0 @@ -connect_error) { - die("Connection failed: " . $conn->connect_error); - } - echo "Connected successfully"; - $bookName=$_POST['bookName']; - $authorName=$_POST['authorName']; - $isbnNumber=$_POST['isbnNumber']; - $publisherName = $_POST['publisherName']; - $publicationYear=$_POST['publicationYear']; - $noOfPages=$_POST['numberofpages']; - $bookType=$_POST['bookType']; - - - - $sql = "INSERT INTO books VALUES ('$bookName', '$authorName', '$isbnNumber', '$publisherName', '$publicationYear', '$noOfPages', '$bookType')"; - - if($conn->query($sql)=== TRUE){ - echo "Successfully inserted"; - } - else{ - echo "Error: " . $sql . "
" . $conn->error; - } - $conn->close(); -} - -?> - - - - - - - - Q1 - - -
- bookName: - authorName:
- isbnNumber: - publisherName:
- publicationYear:
- - -
- BookType: -

- - - - - \ No newline at end of file diff --git a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html deleted file mode 100644 index a19e34a33..000000000 --- a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html +++ /dev/null @@ -1,60 +0,0 @@ -connect_error) -{ - die("Connection failed: " . $conn->connect_error); -} -$sql = "SELECT * from books"; -$res = $conn->query($sql); -?> - - - - - -
Book IDBook NameAuthorISBNPublisherPublisher YearPagesBook Type
- - - - - - - - - - - -num_rows > 0) -{ - while ($row = $res->fetch_assoc()) - { ?> - - - - - - - - - - - - - - close(); -?> \ No newline at end of file From e4a25fabfe14b31483566955c703e3cc924e9242 Mon Sep 17 00:00:00 2001 From: VineetChoudhary <42797327+VineetChoudhary-geu@users.noreply.github.com> Date: Tue, 15 Jun 2021 15:54:36 +0530 Subject: [PATCH 5/6] Add files via upload --- .../question 1/index.php | 81 +++++++++++++++++++ .../question 2/index.html | 60 ++++++++++++++ 2 files changed, 141 insertions(+) create mode 100644 End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php create mode 100644 End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html diff --git a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php new file mode 100644 index 000000000..9bedc202a --- /dev/null +++ b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php @@ -0,0 +1,81 @@ +connect_error) { + die("Connection failed: " . $conn->connect_error); + } + echo "Connected successfully"; + $bookName=$_POST['bookName']; + $authorName=$_POST['authorName']; + $isbnNumber=$_POST['isbnNumber']; + $publisherName = $_POST['publisherName']; + $publicationYear=$_POST['publicationYear']; + $noOfPages=$_POST['numberofpages']; + $bookType=$_POST['bookType']; + + + + $sql = "INSERT INTO books VALUES ('$bookName', '$authorName', '$isbnNumber', '$publisherName', '$publicationYear', '$noOfPages', '$bookType')"; + + if($conn->query($sql)=== TRUE){ + echo "Successfully inserted"; + } + else{ + echo "Error: " . $sql . "
" . $conn->error; + } + $conn->close(); +} + +?> + + + + + + + + Q1 + + + + bookName: + authorName:
+ isbnNumber: + publisherName:
+ publicationYear:
+ + +
+ BookType: +

+ + + + + \ No newline at end of file diff --git a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html new file mode 100644 index 000000000..487bd94b0 --- /dev/null +++ b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html @@ -0,0 +1,60 @@ +connect_error) +{ + die("Connection failed: " . $conn->connect_error); +} +$sql = "SELECT * from books"; +$res = $conn->query($sql); +?> + + + + + +
Book IDBook NameAuthorISBNPublisherPublisher YearPagesBook Type
+ + + + + + + + + + + +num_rows > 0) +{ + while ($row = $res->fetch_assoc()) + { ?> + + + + + + + + + + + + + + close(); +?> \ No newline at end of file From 45bedd4fd90efdf5e10e301632558cdbbf293e89 Mon Sep 17 00:00:00 2001 From: VineetChoudhary <42797327+VineetChoudhary-geu@users.noreply.github.com> Date: Tue, 15 Jun 2021 15:55:02 +0530 Subject: [PATCH 6/6] Delete End Term Practicals/CSEE/55_2014153_Vineet_Choudhary directory --- .../question 1/index.php | 81 ------------------- .../question 2/index.html | 60 -------------- 2 files changed, 141 deletions(-) delete mode 100644 End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php delete mode 100644 End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html diff --git a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php deleted file mode 100644 index 9bedc202a..000000000 --- a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 1/index.php +++ /dev/null @@ -1,81 +0,0 @@ -connect_error) { - die("Connection failed: " . $conn->connect_error); - } - echo "Connected successfully"; - $bookName=$_POST['bookName']; - $authorName=$_POST['authorName']; - $isbnNumber=$_POST['isbnNumber']; - $publisherName = $_POST['publisherName']; - $publicationYear=$_POST['publicationYear']; - $noOfPages=$_POST['numberofpages']; - $bookType=$_POST['bookType']; - - - - $sql = "INSERT INTO books VALUES ('$bookName', '$authorName', '$isbnNumber', '$publisherName', '$publicationYear', '$noOfPages', '$bookType')"; - - if($conn->query($sql)=== TRUE){ - echo "Successfully inserted"; - } - else{ - echo "Error: " . $sql . "
" . $conn->error; - } - $conn->close(); -} - -?> - - - - - - - - Q1 - - - - bookName: - authorName:
- isbnNumber: - publisherName:
- publicationYear:
- - -
- BookType: -

- - - - - \ No newline at end of file diff --git a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html b/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html deleted file mode 100644 index 487bd94b0..000000000 --- a/End Term Practicals/CSEE/55_2014153_Vineet_Choudhary/question 2/index.html +++ /dev/null @@ -1,60 +0,0 @@ -connect_error) -{ - die("Connection failed: " . $conn->connect_error); -} -$sql = "SELECT * from books"; -$res = $conn->query($sql); -?> - - - - - -
Book IDBook NameAuthorISBNPublisherPublisher YearPagesBook Type
- - - - - - - - - - - -num_rows > 0) -{ - while ($row = $res->fetch_assoc()) - { ?> - - - - - - - - - - - - - - close(); -?> \ No newline at end of file
Book IDBook NameAuthorISBNPublisherPublisher YearPagesBook Type