Ir para conteúdo

Featured Replies

Postado
REATE TABLE `z_forum` (
						`id` int(11) NOT NULL auto_increment,
						`sticky` tinyint(1) NOT NULL DEFAULT '0',
						`closed` tinyint(1) NOT NULL DEFAULT '0',
						`first_post` int(11) NOT NULL default '0',
						`last_post` int(11) NOT NULL default '0',
						`section` int(3) NOT NULL default '0',
						`icon_id` int(3) NOT NULL default '1',
						`replies` int(20) NOT NULL default '0',
						`views` int(20) NOT NULL default '0',
						`author_aid` int(20) NOT NULL default '0',
						`author_guid` int(20) NOT NULL default '0',
						`post_text` text NOT NULL,
						`post_topic` varchar(255) NOT NULL,
						`post_smile` tinyint(1) NOT NULL default '0',
						`post_date` int(20) NOT NULL default '0',
						`last_edit_aid` int(20) NOT NULL default '0',
						`edit_date` int(20) NOT NULL default '0',
						`post_ip` varchar(32) NOT NULL default '0.0.0.0',
						PRIMARY KEY  (`id`),
						KEY `section` (`section`)
						) ENGINE=MyISAM AUTO_INCREMENT=1;
  • Respostas 8
  • Visualizações 835
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • luanluciano93
    luanluciano93

    Execute esse comando no phpmyadmin ... ALTER TABLE `guilds` ADD `logo_gfx_name` VARCHAR(255) NOT NULL DEFAULT "default-logo.png" Espero ter ajudado.

  • luanluciano93
    luanluciano93

    CREATE TABLE `z_forum` ( `id` int(11) NOT NULL auto_increment, `sticky` tinyint(1) NOT NULL DEFAULT '0', `closed` tinyint(1) NOT NULL DEFAULT '0', `first_post` int(11) NOT NULL

Posted Images

Postado
  • Autor
Erro

consulta SQL:

REATE TABLE `z_forum` (

`id` int( 11 ) NOT NULL AUTO_INCREMENT , `sticky` tinyint( 1 ) NOT NULL DEFAULT '0', `closed` tinyint( 1 ) NOT NULL DEFAULT '0', `first_post` int( 11 ) NOT NULL default '0', `last_post` int( 11 ) NOT NULL default '0', `section` int( 3 ) NOT NULL default '0', `icon_id` int( 3 ) NOT NULL default '1', `replies` int( 20 ) NOT NULL default '0', `views` int( 20 ) NOT NULL default '0', `author_aid` int( 20 ) NOT NULL default '0', `author_guid` int( 20 ) NOT NULL default '0', `post_text` text NOT NULL , `post_topic` varchar( 255 ) NOT NULL , `post_smile` tinyint( 1 ) NOT NULL default '0', `post_date` int( 20 ) NOT NULL default '0', `last_edit_aid` int( 20 ) NOT NULL default '0', `edit_date` int( 20 ) NOT NULL default '0', `post_ip` varchar( 32 ) NOT NULL default '0.0.0.0', PRIMARY KEY ( `id` ) , KEY `section` ( `section` )
) ENGINE = MYISAM AUTO_INCREMENT =1

 

Mensagens do MySQL : b_help.png

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REATE TABLE `z_forum` (
                        `id` int(11) NOT NULL auto_increment,
                        `sti' at line 1 

 

 

 

 

 

ESSE GESIOR PRESTA MESMO?

 

 

 

 

 

 

 

 

 

post-111819-0-40981800-1403009297_thumb.

Editado por maresoft (veja o histórico de edições)

Postado
  • Solução
CREATE TABLE `z_forum` (
						`id` int(11) NOT NULL auto_increment,
						`sticky` tinyint(1) NOT NULL DEFAULT '0',
						`closed` tinyint(1) NOT NULL DEFAULT '0',
						`first_post` int(11) NOT NULL default '0',
						`last_post` int(11) NOT NULL default '0',
						`section` int(3) NOT NULL default '0',
						`icon_id` int(3) NOT NULL default '1',
						`replies` int(20) NOT NULL default '0',
						`views` int(20) NOT NULL default '0',
						`author_aid` int(20) NOT NULL default '0',
						`author_guid` int(20) NOT NULL default '0',
						`post_text` text NOT NULL,
						`post_topic` varchar(255) NOT NULL,
						`post_smile` tinyint(1) NOT NULL default '0',
						`post_date` int(20) NOT NULL default '0',
						`last_edit_aid` int(20) NOT NULL default '0',
						`edit_date` int(20) NOT NULL default '0',
						`post_ip` varchar(32) NOT NULL default '0.0.0.0',
						PRIMARY KEY  (`id`),
						KEY `section` (`section`)
						) ENGINE=MyISAM AUTO_INCREMENT=1;

Ajudei? Clique em Gostei.

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo