role wise login in ajex and php code example
Example: role wise login in ajex and php
--
-- Database: `php_multiplelogin`
--
-- --------------------------------------------------------
--
-- Table structure for table `masterlogin`
--
CREATE TABLE `masterlogin` (
`id` int(11) NOT NULL,
`username` varchar(15) NOT NULL,
`email` varchar(40) NOT NULL,
`password` varchar(20) NOT NULL,
`role` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=COMPACT;
--
-- Dumping data for table `masterlogin`
--
INSERT INTO `masterlogin` (`id`, `username`, `email`, `password`, `role`) VALUES
(11, 'hamid', '[email protected]', '123456', 'admin');