Jump to content

Need help with Comment System!


studgate

Recommended Posts

I am trying to create a comment system so users of

the site can comment on data added.

I need to associate the comments with the data id and

get the user from the users table.

 

CREATE TABLE datacomment (
  id int(11) NOT NULL auto_increment,
  dataid int(11) NOT NULL default '0',
  text text NOT NULL,
  userid int(11) NOT NULL default '0',
  dateposted datetime default NULL,
  PRIMARY KEY  (id)
) TYPE=MyISAM;

 

Any help is welcome, thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/64284-need-help-with-comment-system/
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.