@webdevelopfunauthorFeb 03.2015 — #Please be more difinitive. After the user adds a comment, you want it to be displayed on the same page, in another area?[/QUOTE]
i want it to display in the same page. below the comment box where users will write their comment. i want the background of the box to be green (which users write in) and the background of the box where their comments are displayed to be green with the transparence to be 75% visible.
[*] create input form.. for example: username, email and message.
[*] you store data in database.
[*] retrieve data from db and show them on website.
[*] good practice can be to secure input to avoid spam.
[*] after posting comment simply redirect to previous/same page.
[/LIST] usually email information isn't shown to visitors. storing data: [LIST]
[*] flat database (store comments in a file).
[*] mysqli, mysql, postgresql, mongodb ...
[/LIST] type of database depends of how many records do you expect and what to do with them. you probably want to administrate them a little. for example to delete spams or violent talk..