-- phpMyAdmin SQL Dump
-- version 4.8.3
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Dec 13, 2018 at 06:30 AM
-- Server version: 5.7.23
-- PHP Version: 7.2.10

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";


/*!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 utf8mb4 */;

--
-- Database: `nilamdb`
--

-- --------------------------------------------------------

--
-- Table structure for table `tbl_register`
--

DROP TABLE IF EXISTS `tbl_register`;
CREATE TABLE IF NOT EXISTS `tbl_register` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `tajuk` text NOT NULL,
  `pengarang` text NOT NULL,
  `penerbit` text NOT NULL,
  `url` text NOT NULL,
  `ms` int(11) NOT NULL,
  `bahan` text NOT NULL,
  `jbahan` text NOT NULL,
  `ringkasan` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_register`
--

INSERT INTO `tbl_register` (`id`, `tajuk`, `pengarang`, `penerbit`, `url`, `ms`, `bahan`, `jbahan`, `ringkasan`) VALUES
(1, 'wd', 'fdf', 'dfs', 'dsf', 12, 'Buku', 'Majalah', 'dfsg'),
(2, 'dwd', 'abu', 'aku', 'htttp', 11, 'Buku', 'Majalah', 'dds'),
(3, 'tryf', 'trdrd', 'tyyqyfgf', 'htttp', 31, 'Buku', 'Majalah', 'sdsfddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddsdffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff'),
(4, 'dfd', 'dfs', 'df', 'g', 2, 'Buku', 'Majalah', 'dfd'),
(5, 'ewreger', 'dfs', 'df', 'g', 2, 'Buku', 'Majalah', 'dfd'),
(6, 'er4', 'dfs', 'df', 'g', 2, 'Buku', 'Majalah', 'dfd'),
(7, '34', 'dfs', 'df', 'g', 2, 'Buku', 'Majalah', 'dfd');

-- --------------------------------------------------------

--
-- Table structure for table `tbl_user`
--

DROP TABLE IF EXISTS `tbl_user`;
CREATE TABLE IF NOT EXISTS `tbl_user` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `username` text NOT NULL,
  `password` text NOT NULL,
  `name` text NOT NULL,
  `ic` bigint(20) NOT NULL,
  `add1` text NOT NULL,
  `add2` text NOT NULL,
  `city` text NOT NULL,
  `postcode` bigint(20) NOT NULL,
  `state` text NOT NULL,
  `phone` bigint(20) NOT NULL,
  `email` text NOT NULL,
  `dateregister` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tbl_user`
--

INSERT INTO `tbl_user` (`id`, `username`, `password`, `name`, `ic`, `add1`, `add2`, `city`, `postcode`, `state`, `phone`, `email`, `dateregister`) VALUES
(12, 'faris', '202cb962ac59075b964b07152d234b70', 'muhdfaris', 94, 'a', 'b', 'p', 1, 'k', 0, 'farispetra94@gmail.com', '2018-12-13');
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
