Beefman Posted June 7, 2013 Share Posted June 7, 2013 Hey, I'm new to forums and also quite new to php. I was wondering is there a way to add a comment boxs but without mysql? I've got one http://mhgames.tk/commentbox.html. But all the comments go back to one page, And if I post the comment box on multiple pages I don't want them all going into the same comments. If that make sense and if I need to create a mysql database for every page.. That will take ages. More about me? - I'm making a game website with my friend. I would like to add a comment box on every page with a game. (separate comments) I've added one with mysql at the moment but all the comments go into one section. This wouldn't be helpful if I need to separate the comments for each page. Thank you, I will really appreciated. Link to comment https://forums.phpfreaks.com/topic/278875-php-comment-box-help/ Share on other sites More sharing options...
mac_gyver Posted June 7, 2013 Share Posted June 7, 2013 comments would have a category/page/topic... column in the database table. you would retrieve just the comments that you want at any point by adding a WHERE clause to the SELECT query. Link to comment https://forums.phpfreaks.com/topic/278875-php-comment-box-help/#findComment-1434581 Share on other sites More sharing options...
Beefman Posted June 7, 2013 Author Share Posted June 7, 2013 comments would have a category/page/topic... column in the database table. you would retrieve just the comments that you want at any point by adding a WHERE clause to the SELECT query. Sorry, how would i do that Link to comment https://forums.phpfreaks.com/topic/278875-php-comment-box-help/#findComment-1434724 Share on other sites More sharing options...
dannon Posted June 7, 2013 Share Posted June 7, 2013 Sorry, how would i do that http://lmgtfy.com/?q=comment+box+tutorial+php Link to comment https://forums.phpfreaks.com/topic/278875-php-comment-box-help/#findComment-1434725 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.