Login   Register  
PHP Classes
elePHPant
Icontem

File: sql.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Leandro Prudente  >  cBancoDados  >  sql.txt  >  Download  
File: sql.txt
Role: Auxiliary data
Content type: text/plain
Description: Banco MySQL
Class: cBancoDados
Establish conections to a MySQL database server
Author: By
Last change:
Date: 2010-07-13 07:41
Size: 318 bytes
 

Contents

Class file image Download
CREATE DATABASE IF NOT EXISTS teste_php_my;
USE teste_php_my;

DROP TABLE IF EXISTS `editoria`;
CREATE TABLE `editoria` (
  `ideditoria` int(10) unsigned NOT NULL auto_increment,
  `nome` varchar(100) NOT NULL,
  `descricao` text NOT NULL,
  PRIMARY KEY  (`ideditoria`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;