Ir para conteúdo

Featured Replies

Postado

Estou com esse erro:

 

mysql_real_query(): SELECT `post_topic` FROM `z_forum` ORDER BY `post_date` DESC LIMIT 1 - MYSQL ERROR: Table 'otserv.z_forum' doesn't exist ([15/3/2014 0:31:19] mysql_real_query(): SELECT `post_topic` FROM `z_forum` ORDER BY `post_date` DESC LIMIT 1 - MYSQL ERROR: Table 'otserv.z_forum' doesn't exist (1146) 

 

 

Alguem poderia me arrumar o comando que adiciona o forum pelo SQL?

 

Obrigado.

Postado

 

CREATE TABLE `z_forum` (

 `id` int(11) NOT NULL auto_increment,
 `first_post` int(11) NOT NULL default '0',
 `last_post` int(11) NOT NULL default '0',
 `section` int(3) NOT NULL default '0',
 `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(15) NOT NULL default '0.0.0.0',
 PRIMARY KEY  (`id`),
 KEY `section` (`section`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;";

04fqSEO.gif

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