Chappers Posted June 16, 2006 Share Posted June 16, 2006 HiI'm trying to find a good script that will allow me to put a little 'add your comments' box on any page on my website.I tried guestbook scripts, but they'd need separate MySQL tables creating for each page, and a new installation for each one. I need something I can add quickly and easily to any page I create, which will then allow comments to be added to that page, and shown on that page - but only that page. Not something that shows the collective comments from every page that has the facility.Nothing fancy, anything basic would do. I just can't seem to find anything and my knowledge of PHP is still far too limited for making something myself.Could someone recommend something suitable please?Many thanks in advance,James Quote Link to comment https://forums.phpfreaks.com/topic/12201-add-comment-script/ Share on other sites More sharing options...
joquius Posted June 16, 2006 Share Posted June 16, 2006 you could create a DB with a field of `page` and set that to the page name or id or something, then just add in a small form at the bottom of each page, submitting the page_id in the sql like:$sql = "INSERT INTO `comments` (`user`, `page` `comment`)"; etc... Quote Link to comment https://forums.phpfreaks.com/topic/12201-add-comment-script/#findComment-46474 Share on other sites More sharing options...
AndyB Posted June 17, 2006 Share Posted June 17, 2006 You're welcome to look at - and use if you want - my comment script thing.[a href=\"http://www.digitalmidget.com/php_noob/comment.php\" target=\"_blank\"]http://www.digitalmidget.com/php_noob/comment.php[/a] Quote Link to comment https://forums.phpfreaks.com/topic/12201-add-comment-script/#findComment-46566 Share on other sites More sharing options...
Chappers Posted July 5, 2006 Author Share Posted July 5, 2006 HiThank you both for your replies. As often happens, some time after posting I found a comment script which I then implemented. I thought I'd searched everywhere (had been searching on Google for hours) but just goes to show how a different search term here and there can make a difference :-\For anyone interested, it can be found here:[url=http://www.zimmertech.com/tutorials/php/25/comment-form-script-tutorial.php]http://www.zimmertech.com/tutorials/php/25/comment-form-script-tutorial.php[/url]Thanks again :) Quote Link to comment https://forums.phpfreaks.com/topic/12201-add-comment-script/#findComment-53127 Share on other sites More sharing options...
cmgmyr Posted July 5, 2006 Share Posted July 5, 2006 How come you just don't make your own? The link that you found is great, but I think it is overly bulky for just a comment section. You could make one yourself that is a lot smaller and faster.-Chris Quote Link to comment https://forums.phpfreaks.com/topic/12201-add-comment-script/#findComment-53135 Share on other sites More sharing options...
Spork Posted August 9, 2006 Share Posted August 9, 2006 [quote author=Chappers link=topic=96095.msg391700#msg391700 date=1152062861]HiThank you both for your replies. As often happens, some time after posting I found a comment script which I then implemented. I thought I'd searched everywhere (had been searching on Google for hours) but just goes to show how a different search term here and there can make a difference :-\For anyone interested, it can be found here:[url=http://www.zimmertech.com/tutorials/php/25/comment-form-script-tutorial.php]http://www.zimmertech.com/tutorials/php/25/comment-form-script-tutorial.php[/url]Thanks again :)[/quote]Looks pretty good. I'd be interested in getting it to integrate with the logins from my SMF forum so that a user's login would roam all over the site. Quote Link to comment https://forums.phpfreaks.com/topic/12201-add-comment-script/#findComment-71684 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.