i want to create a coment option with the help of PHP.anyone tell me about this.

Edited by happygeek: spam deleted

5 Years
Discussion Span
Last Post by diafol

There's actually alot of premade ones out there just google it.
I have used this one before. linky


There are a lot of pre-made ones out there, but good on you for having a go yourself.

OK, first thing you need to do is decide on your database tables and fields and how they relate to one another.

Once you have this sorted, go at it to devise your 'add comment' form and then create some queries that INSERT the new comment and SELECT comments to show.

As you will be creating this system yourself, you have all the options open to you, e.g. do you want all comments to be shown without first being approved? Do you give commentators the right to edit their comments? Will you allow then to paste HTML or will you allow BBCode or Markdown? Do commentators need to be logged in or can they just provide an email address and hey presto their gravatar shows?

Loads you can do. This is a nice micro project.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.