Jump to content

Forum Coding


Pavlos1316

Recommended Posts

Hello, I want to create a forum for my site but I am new at forum coding.

 

I have this mysql database:

CREATE TABLE forumtutorial_posts (

  postid bigint(20) NOT NULL auto_increment,

  author varchar(255) NOT NULL default '',

  title varchar(255) NOT NULL default '',

  post mediumtext NOT NULL,

  showtime varchar(255) NOT NULL default '',

  realtime bigint(20) NOT NULL default '0',

  lastposter varchar(255) NOT NULL default '',

  numreplies bigint(20) NOT NULL default '0',

  parentid bigint(20) NOT NULL default '0',

  lastrepliedto bigint(20) NOT NULL default '0',

  PRIMARY KEY  (postid)
)

 

How should I built/design my table to match this database? I am  :confused: I have never did it this way...

Link to comment
https://forums.phpfreaks.com/topic/194785-forum-coding/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.