Skip to main content
jcalcina
Inspiring
January 11, 2013
Question

simple php comment box?

  • January 11, 2013
  • 2 replies
  • 1711 views

I haven't really found a third-party vendor or reliable tutorial for a simple form where people can enter comments/testimonials that will then display on my site. Does anyone have a resource? I did the tutorial at helpertuts, and was able to connect the dbase, but have run into many final tweaking issues, and would like to start over with something new.

I noticed there is a free javascript comment box offered; is that ok if there is no real need to manage the comments with a dbase?

Thanks for your help.

This topic has been closed for replies.

2 replies

January 11, 2013
Jon Fritz
Community Expert
Community Expert
January 11, 2013

In all honesty, you're going to need something database driven and php controlled so you can avoid spam-bot gibberish, Nigerian Doctors looking for financial help and ads for "enhancement" drugs being added to your page. Javascript just won't cut it.

Though I've never used an "add comments to my website" service, something like www.htmlcommentbox.com might be the way to go if you don't want to try to code it yourself.

jcalcina
jcalcinaAuthor
Inspiring
January 11, 2013

Thanks Jon,  that looks very simple.

On the other hand, I did give it a try myself, and before I take this simple alternative, maybe someone can take a bit of time, and possibly point me in the right direction.

http://www.placetrenddata.com/jcshop.php

A warning posts above the page footer, some issue with a query,

The submitted comments should appear in the sidebar, and I think the script puts them in the header. Maybe this is why they don't show up.

Here is the code for the success.php doc:

<?php

header("Location: jcshop.php");

?>

Thanks again for the help.