freemancomputer Posted March 31, 2011 Share Posted March 31, 2011 I am looking to add a comment area to pages that are created with data that is pulled off of a database. I am looking for something like the forums on this site, but not as complex. I was thinking about attempting to use a text file to hold the comments for each ID number that is in my database and then displaying those comments when the ID number is called. I'm not sure how I would go about making a function that would search if there was a text file for that ID number and if not to create one. I'm not even sure if this is the best way to go about it but I know if I put all the comments into a database it will get rather large rather quickly. Any pointers and good tutorials would be welcome. Sorry if it sounds as if this post is rambling, I think I need to step away from the computer for a bit. Thanks Link to comment https://forums.phpfreaks.com/topic/232320-adding-a-comment-area-to-a-dynamic-page/ Share on other sites More sharing options...
litebearer Posted March 31, 2011 Share Posted March 31, 2011 the db would be considerably preferable to a text file, easier to add/edit/search/display. Link to comment https://forums.phpfreaks.com/topic/232320-adding-a-comment-area-to-a-dynamic-page/#findComment-1195137 Share on other sites More sharing options...
kamal213 Posted April 4, 2011 Share Posted April 4, 2011 Hi freemancomputer, We have exactly the same problem, How are you getting on? Got to the following link: http://www.htmlcommentbox.com/ See if it helps you simply copy n paste the html on you webpage, it is fully dynamic. If you have already done yours please could you let me know how you did it. Thanks n Goodluck Kamal213 Link to comment https://forums.phpfreaks.com/topic/232320-adding-a-comment-area-to-a-dynamic-page/#findComment-1196590 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.