Forum Moderators: coopster

Message Too Old, No Replies

How do I post comments?

How do I post comments?

         

froofi

1:58 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



Im creating a website with html to keep in contact with people while i am away at university.
I would like to have a comments page...kinda like a blog I guess or a forum. Where people can submit their comment and it would appear on a page on my site.

I cant seem to find what I am looking for via search engines, they all describe sending comments back to me via email. I want the comments posted online.

Gian04

2:29 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



Create a form similar to a Contact / Feedback Form

Example Required Inputs: Sender Name, Email, Comments

Then Upon submitting the form saved it to a Table.

Then create a page wherein it will retrieve and display all the records from the saved table.

justgowithit

2:43 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



Hello Froofi,

You can't accomplish this task with only HTML - you need another technology to process information.

I would recommend that you check out the various script archives that are available such as Hotscripts [hotscripts.com] to get you started.

There are many well-built scripts and applications that will do exactly what you're looking for and you don't need much knowledge to get going.

dreamcatcher

2:53 pm on Jul 18, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sounds like what you are after is a Guestbook. :)

dc

d40sithui

3:06 pm on Jul 18, 2007 (gmt 0)

10+ Year Member



froofi,
the above responses make good points.
you will need more than html. in fact you'll need access to a database, usually mysql to store all your comments, which would be most efficient.

i guess the other way to do it is to write the comments into a file or files using fopen, fwrite, fread php functions. this system is not as efficient and not as easy. plus you'll have a ton of files to manage.