Jump to content
  • 0
rayhanalka

[Solved] Need SQL help

Question

2 answers to this question

Recommended Posts

  • 0
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
Link to comment
Share on other sites

  • 0
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

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.