diff --git a/amisha.sql b/amisha.sql
new file mode 100644
index 0000000..b07e065
--- /dev/null
+++ b/amisha.sql
@@ -0,0 +1,65 @@
+-- phpMyAdmin SQL Dump
+-- version 2.11.6
+-- http://www.phpmyadmin.net
+--
+-- Host: localhost
+-- Generation Time: Jan 13, 2019 at 10:32 AM
+-- Server version: 5.0.51
+-- PHP Version: 5.2.6
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+
+--
+-- Database: `ams`
+--
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `faculty`
+--
+
+CREATE TABLE `faculty` (
+ `name` varchar(100) NOT NULL,
+ `email` varchar(100) NOT NULL,
+ `password` varchar(100) NOT NULL,
+ `facultyID` varchar(100) NOT NULL,
+ `subject` varchar(100) NOT NULL,
+ `phone` varchar(100) NOT NULL
+) TYPE=InnoDB;
+
+--
+-- Dumping data for table `faculty`
+--
+
+INSERT INTO `faculty` (`name`, `email`, `password`, `facultyID`, `subject`, `phone`) VALUES
+('pankaj', 'pankaj@gmail.com', 'pankaj', '20175555', 'maths', '99');
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `student`
+--
+
+CREATE TABLE `student` (
+ `name` varchar(100) NOT NULL,
+ `password` varchar(100) NOT NULL,
+ `studentID` bigint(100) NOT NULL,
+ `attendance` int(100) NOT NULL default '0',
+ `phone` varchar(100) NOT NULL,
+ `email` varchar(100) NOT NULL
+) TYPE=InnoDB;
+
+--
+-- Dumping data for table `student`
+--
+
+INSERT INTO `student` (`name`, `password`, `studentID`, `attendance`, `phone`, `email`) VALUES
+('a', 'a', 0, 6, '999', 'a@gmail.com'),
+('b', 'b', 0, 6, '999', 'b@gmail.com'),
+('c', 'c', 0, 6, '999', 'c@gmail.com'),
+('d', 'd', 0, 6, '999', 'd@gmail.com');
diff --git a/checkbox.php b/checkbox.php
new file mode 100644
index 0000000..b0854d1
--- /dev/null
+++ b/checkbox.php
@@ -0,0 +1,23 @@
+
diff --git a/connectfaculty.php b/connectfaculty.php
new file mode 100644
index 0000000..fccfc13
--- /dev/null
+++ b/connectfaculty.php
@@ -0,0 +1,34 @@
+Click here to go back";
+}
+else
+{
+mysql_connect("localhost","root","");
+mysql_select_db("AMS");
+$query1="SELECT * FROM faculty WHERE facultyID='$o'";
+$result=mysql_query($query1);
+$con=mysql_num_rows($result);
+if($con==0)
+{
+$query="INSERT INTO faculty(name,password,facultyID,phone,subject,email) VALUES('$m','$n','$o','$p','$q','$r')";
+mysql_query($query);
+echo"DONE";
+
+}
+else
+{echo"already exists";}
+
+}
+
+
+?>
\ No newline at end of file
diff --git a/connectstudent.php b/connectstudent.php
new file mode 100644
index 0000000..0b1d110
--- /dev/null
+++ b/connectstudent.php
@@ -0,0 +1,34 @@
+Click here to go back";
+}
+else
+{
+mysql_connect("localhost","root","");
+mysql_select_db("AMS");
+$query1="SELECT * FROM student WHERE name='$m' && password='$n'";
+$result=mysql_query($query1);
+$con=mysql_num_rows($result);
+if($con==0)
+{
+$query="INSERT INTO student(name,password,studentID,phone,email) VALUES('$m','$n','$o','$p','q')";
+mysql_query($query);
+echo"DONE";
+echo"Click here to login";
+
+}
+else
+{echo"already exists";}
+
+}
+
+
+?>
\ No newline at end of file
diff --git a/formfaculty.php b/formfaculty.php
new file mode 100644
index 0000000..e42ae86
--- /dev/null
+++ b/formfaculty.php
@@ -0,0 +1,36 @@
+
+
+FACULTY
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/formstudent.php b/formstudent.php
new file mode 100644
index 0000000..c865a88
--- /dev/null
+++ b/formstudent.php
@@ -0,0 +1,34 @@
+
+STUDENTS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/loginfaculty.php b/loginfaculty.php
new file mode 100644
index 0000000..673b9e8
--- /dev/null
+++ b/loginfaculty.php
@@ -0,0 +1,32 @@
+Click here to go back";
+}
+
+else
+{mysql_connect("localhost","root","");
+mysql_select_db("AMS");
+$query1="SELECT * FROM faculty WHERE facultyID='$p' && password='$q'";
+$result=mysql_query($query1);
+$con=mysql_num_rows($result);
+if($con==0)
+{echo"MISMATCH";}
+else
+{$_SESSION['facultyID']=$p;
+header("location:welcomefaculty.php");
+
+
+}
+
+}
+
+
+
+?>
\ No newline at end of file
diff --git a/loginstudent.php b/loginstudent.php
new file mode 100644
index 0000000..b8bb2d3
--- /dev/null
+++ b/loginstudent.php
@@ -0,0 +1,29 @@
+Click here to go back";
+}
+
+else
+{mysql_connect("localhost","root","");
+mysql_select_db("AMS");
+$query1="SELECT * FROM student WHERE studentID='$p' && password='$q'";
+$result=mysql_query($query1);
+$con=mysql_num_rows($result);
+if($con==0)
+{echo"MISMATCH";}
+else
+{$_SESSION['studentID']=$p;
+header("location:welcomestudent.php");
+}
+
+}
+
+
+
+?>
\ No newline at end of file
diff --git a/logoutfaculty.php b/logoutfaculty.php
new file mode 100644
index 0000000..587f4b0
--- /dev/null
+++ b/logoutfaculty.php
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/logoutstudent.php b/logoutstudent.php
new file mode 100644
index 0000000..e310ecc
--- /dev/null
+++ b/logoutstudent.php
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/main.php b/main.php
new file mode 100644
index 0000000..6ea347e
--- /dev/null
+++ b/main.php
@@ -0,0 +1,158 @@
+
+
+
+
+
+
+
+ My Slider
+
+
+
+
+
+
+
+
+

+
+
+
+

+
+
+
+
+

+
+
+
+

+
+
+
+
<=
+
=>
+
+
+
+
+
+
+
+
+
+
+Click here ";
+}
+else if($varGender=="F")
+{
+echo"Click here ";
+}
+?>
\ No newline at end of file
diff --git a/mark.php b/mark.php
new file mode 100644
index 0000000..bdbe28e
--- /dev/null
+++ b/mark.php
@@ -0,0 +1,60 @@
+
+
+
+ATTENDANCE TABLE
+
+
+
+
+
+";
+echo"
";
+
+echo"";
+echo"NAME | ";
+
+echo"STUDENT-ID | ";
+echo"MARK STATUS | ";
+
+echo"
";
+
+
+while($row=mysql_fetch_array($result))
+{
+$a=$a+1;
+echo"";
+echo"".$row[0]." | ";
+
+echo"".$row[2]." | ";
+echo"Present
Absent | ";
+
+
+echo"
";
+}
+
+echo"
";
+
+}
+
+else
+{header("location:formfaculty.php");}
+
+?>
+
+
+
+
+
+CLICK HERE TO GO BACK
+
diff --git a/mark1.php b/mark1.php
new file mode 100644
index 0000000..38474e3
--- /dev/null
+++ b/mark1.php
@@ -0,0 +1,57 @@
+
+
+
+ATTENDANCE TABLE
+
+
+
+NAME |
+STUDENT-ID |
+MARK STATUS |
+
+
+
+ | ;
+ | ;
+
+
+
+
+
+
+CLICK HERE TO GO BACK;
+
+
\ No newline at end of file
diff --git a/mark2.php b/mark2.php
new file mode 100644
index 0000000..20de2b7
--- /dev/null
+++ b/mark2.php
@@ -0,0 +1,19 @@
+ $value)
+{ if($value=="Present")
+{$q="UPDATE student set 'attendance'='attendance'+1";
+$result=mysql_query(q);
+}
+
+else{
+}
+
+echo"UPDATED";
+echo"Click here to go back";
+
+
+}
+?>
\ No newline at end of file
diff --git a/showfaculty.php b/showfaculty.php
new file mode 100644
index 0000000..959ea94
--- /dev/null
+++ b/showfaculty.php
@@ -0,0 +1,53 @@
+
+
+
+ATTENDANCE TABLE
+
+
+
+
+";
+echo"
";
+
+echo"";
+echo"NAME | ";
+
+echo"STUDENT-ID | ";
+echo"ATTENDANCE | ";
+
+echo"
";
+
+while($row=mysql_fetch_array($result))
+{
+
+echo"";
+echo"".$row[0]." | ";
+
+echo"".$row[2]." | ";
+echo"".$row[3]." | ";
+echo"
";
+}
+echo"
";
+
+}
+
+else
+{header("location:formfaculty.php");}
+
+?>
+
+
+
+
+CLICK HERE TO GO BACK
+
diff --git a/showstudent.php b/showstudent.php
new file mode 100644
index 0000000..e6a6e11
--- /dev/null
+++ b/showstudent.php
@@ -0,0 +1,52 @@
+
+
+
+
+ATTENDANCE TABLE
+
+
+
+";
+echo"
";
+
+echo"";
+echo"NAME | ";
+
+echo"STUDENT-ID | ";
+echo"ATTENDANCE | ";
+
+echo"
";
+
+while($row=mysql_fetch_array($result))
+{
+
+echo"";
+echo"".$row[0]." | ";
+
+echo"".$row[2]." | ";
+echo"".$row[3]." | ";
+echo"
";
+}
+echo"
";
+
+}
+
+else
+{header("location:formstudent.php");}
+
+?>
+
+
+
+CLICK HERE TO GO BACK
+
+
diff --git a/slideshow.php b/slideshow.php
new file mode 100644
index 0000000..71ac4b4
--- /dev/null
+++ b/slideshow.php
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/welcomestudent.php b/welcomestudent.php
new file mode 100644
index 0000000..0e1e2e2
--- /dev/null
+++ b/welcomestudent.php
@@ -0,0 +1,55 @@
+LOGOUT";
+}
+else
+{
+header("location:formstudent.php");
+}
+
+?>
+
+
+
+
+
+
+
+
+Click here";
+}
+else if($varGender=="P")
+{
+echo"Click here";
+}
+else if($varGender=="C")
+{
+echo"Click here";}
+else if($varGender=="N")
+{
+echo"Click here";
+}
+
+?>
\ No newline at end of file