text: -- phpMyAdmin SQL Dump
  -- version 3.2.0.1
  -- http://www.phpmyadmin.net
  --
  -- Host: localhost
  -- Generation Time: Oct 10, 2011 at 12:34 AM
  -- Server version: 5.5.8
  -- PHP Version: 5.3.3
  
  SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
  
  
  /*!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: `elearnings`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `assignment`
  --
  
  CREATE TABLE IF NOT EXISTS `assignment` (
    `branch` varchar(25) NOT NULL,
    `class` varchar(5) NOT NULL,
    `subject` varchar(25) NOT NULL,
    `assignment` varchar(10000) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `assignment`
  --
  
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `department`
  --
  
  CREATE TABLE IF NOT EXISTS `department` (
    `branch` varchar(25) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `department`
  --
  
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `faculty`
  --
  
  CREATE TABLE IF NOT EXISTS `faculty` (
    `name` varchar(40) NOT NULL,
    `gender` varchar(10) NOT NULL,
    `address` varchar(50) NOT NULL,
    `contact_no` varchar(15) NOT NULL,
    `email_id` varchar(40) NOT NULL,
    `user_name` varchar(30) NOT NULL,
    `password` varchar(30) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `faculty`
  --
  
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `login`
  --
  
  CREATE TABLE IF NOT EXISTS `login` (
    `user_name` varchar(30) NOT NULL,
    `password` varchar(30) NOT NULL,
    `category` varchar(10) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `login`
  --
  
  INSERT INTO `login` (`user_name`, `password`, `category`) VALUES
  ('admin', 'admin', 'admin');
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `notice`
  --
  
  CREATE TABLE IF NOT EXISTS `notice` (
    `branch` varchar(25) NOT NULL,
    `class` varchar(5) NOT NULL,
    `subject` varchar(25) NOT NULL,
    `notice` varchar(10000) NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `notice`
  --
  
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `student`
  --
  
  CREATE TABLE IF NOT EXISTS `student` (
    `name` varchar(40) NOT NULL,
    `gender` varchar(10) NOT NULL,
    `address` varchar(50) NOT NULL,
    `contact_no` varchar(15) NOT NULL,
    `email_id` varchar(40) NOT NULL,
    `parents_name` varchar(40) NOT NULL,
    `parents_contact_no` varchar(15) NOT NULL,
    `branch` varchar(25) NOT NULL,
    `class` varchar(5) NOT NULL,
    `roll_no` varchar(20) NOT NULL,
    `user_name` varchar(30) NOT NULL,
    `password` varchar(30) NOT NULL,
    `date` date NOT NULL
  ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `student`
  --
  
  