PHP Classes

File: database.php

Recommend this page to a friend!
  Classes of Bharat Parmar   Short Code CRUD   database.php   Download  
File: database.php
Role: Configuration script
Content type: text/plain
Description: Database File For the demo script
Class: Short Code CRUD
Perform CRUD operations on MySQL table records
Author: By
Last change:
Date: 8 years ago
Size: 436 bytes
 

Contents

Class file image Download
<?php

/*CREATE USER TABLE FOR THE SAME. */

CREATE TABLE IF NOT EXISTS `bh_user_master` (
  `
user_id` int(11) NOT NULL AUTO_INCREMENT,
  `
firstname` varchar(40) NOT NULL,
  `
lastname` varchar(40) NOT NULL,
  `
email` varchar(40) NOT NULL,
  `
password` text NOT NULL,
  `
active_status` int(1) NOT NULL COMMENT '0:inactive, 1:active',
 
PRIMARY KEY (`user_id`)
)
ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;


?>