SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Database: `db_guestbook`
--
-- --------------------------------------------------------
--
-- Table structure for table `tbl_admin`
--
CREATE TABLE `table_admin` (
`id` int(11) NOT NULL auto_increment,
`username` varchar(50) NOT NULL default '',
`password` varchar(32) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `tbl_admin`
--
INSERT INTO `table_admin` VALUES (1, 'admin', 'admin');
-- --------------------------------------------------------
--
-- Table structure for table `tbl_guestbook`
--
CREATE TABLE `table_guestbook` (
`id` int(11) NOT NULL auto_increment,
`comments` longtext NOT NULL,
`name` varchar(55) NOT NULL default '',
`affiliation` varchar(55) NOT NULL default '',
`title` varchar(55) NOT NULL default '',
`date` date NOT NULL default '0000-00-00',
`top_list` char(3) NOT NULL default 'no',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;
Cuando creo la base de datos, despues las tablas, cuantas lineas creo? o alguien que me indique paso a paso como seguir porque soy nuevo en esto...
