View file bd.sql
-- phpMyAdmin SQL Dump -- version 3.2.3 -- http://www.phpmyadmin.net -- -- Host: localhost -- Generation Time: Jun 12, 2011 at 10:14 PM -- Server version: 5.1.40 -- PHP Version: 5.2.12 CREATE TABLE IF NOT EXISTS `comments` ( `id` int(11) NOT NULL AUTO_INCREMENT, `id_news` int(5) NOT NULL, `name` varchar(15) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `text` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `ip` varchar(30) NOT NULL, `ua` text NOT NULL, `date` varchar(30) NOT NULL, `time` varchar(30) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=6 ; CREATE TABLE IF NOT EXISTS `news` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `text` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL, `date` varchar(30) NOT NULL, `time` varchar(30) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=cp1251 AUTO_INCREMENT=3 ; CREATE TABLE IF NOT EXISTS `set` ( `id` int(1) NOT NULL, `password` varchar(20) COLLATE utf8_unicode_ci NOT NULL, `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `num_index` int(2) NOT NULL, `num_comm` int(2) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci; -- -- Dumping data for table `set` -- INSERT INTO `set` (`id`, `password`, `title`, `num_index`, `num_comm`) VALUES (1, 'qwerty', 'Титл', 1, 2);