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. Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.