Jump to content
  • 0

[Solved] Need SQL help


Question

2 answers to this question

Recommended Posts

  • 0
Posted (edited)
CREATE TABLE IF NOT EXISTS `logs` (
  `time` datetime NOT NULL default '0000-00-00 00:00:00',
  `ip` varchar(15) NOT NULL default '',
  `user` varchar(23) NOT NULL default '',
  `rcode` tinyint(4) NOT NULL default '0',
  `log` varchar(255) NOT NULL default '',
  INDEX (`ip`)
) ENGINE=MyISAM ;

You're missing "logs" "table" which has the same column of "loginlogs" from "logs.sql".

Use the code to create "logs" table.

Edited by Sryx
  • Upvote 1
  • 0
Posted
4 hours ago, Sryx said:

CREATE TABLE IF NOT EXISTS `logs` (
  `time` datetime NOT NULL default '0000-00-00 00:00:00',
  `ip` varchar(15) NOT NULL default '',
  `user` varchar(23) NOT NULL default '',
  `rcode` tinyint(4) NOT NULL default '0',
  `log` varchar(255) NOT NULL default '',
  INDEX (`ip`)
) ENGINE=MyISAM ;

You're missing "logs" "table" which has the same column of "loginlogs" from "logs.sql".

Use the code to create "logs" table.

thank you, it's work like magic /thx/lv

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...