Create a table to store the users and configure the database connection php class 3 - Khan4dj.Info

My Name is Muhammad Nouman Qureshi i am a software Developer, C# Development, and Web Development

Find Us on Facebook

Post Top Ad

Monday, 13 April 2015

Create a table to store the users and configure the database connection php class 3


Create a table to store the users and configure the database connection php class 3




User sql code

/**
 * Users table schema
 */
CREATE TABLE IF NOT EXISTS `users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(128) NOT NULL,
  `email` varchar(128) NOT NULL,
  `password` varchar(60) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `email` (`email`),
  KEY `name` (`name`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;


No comments:

Post Bottom Ad