Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Nemeth Zoltan  >  IDatabase class  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Sample table create script for example
Class: IDatabase class
MySQL Database access wrapper using MySQLi
Author: By
Last change: Additional information for database connection data!
Date: 8 months ago
Size: 692 bytes
 

Contents

Class file image Download
URGENT!
 > First you need change the database access data in IDatabase.class.php line 14 to 17!

-- Sample MySQL table

CREATE TABLE IF NOT EXISTS `sample` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `name` varchar(255) NOT NULL,
  `counter` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;

INSERT INTO `sample` (`id`, `date`, `name`, `counter`) VALUES
(1, '2014-03-06 15:45:11', 'test1', 0),
(2, '2014-03-06 15:45:16', 'test2', 0),
(3, '2014-03-06 15:45:21', 'tester1', 0),
(4, '2014-03-06 15:45:27', 'tester2', 0),
(5, '2014-03-06 15:45:34', 'tester3', 0);