studgate Posted August 10, 2007 Share Posted August 10, 2007 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 More sharing options...
frost Posted August 10, 2007 Share Posted August 10, 2007 Looks like you have things figured out here? In the form your user is filling out you might want to use a hidden field for the dataid. Anything specific you want to know? Link to comment https://forums.phpfreaks.com/topic/64284-need-help-with-comment-system/#findComment-320625 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.