-
Comments code?
I host a video website, the videos are displayed on a seprate page, underneath the video i want to allow a viewer to add a comment, which is then displayed to other users, kind of similar to yutubes, but something that is very easy to do.
thanks.
-
-
this is pretty easily accomplished.
this will require some sort of database.
Do you have access to MYSQL or sqlServer databases?
This should be your first step, setting up a connection to the database.
Then create your users table
Then create your comments[what ever you want to call it] table
add a form to your video page
collect the data from the form
store it in the database
then display the data
this is just a quick list of things that you wilil want to do.
Last edited by penguin; 11-21-2006 at 01:57 AM.
-
-
I wrote a fairly simple script for something like this--
http://www.dynamicdrive.com/forums/s...?t=9940&page=2
Note: the author of that thread called it a message board, but it was intended as a comment script.
It's not too complex... but does its simple job well. Might need a couple things fixed/customized.
Note that you need php and it must be allowed to access/change files on your server.
This uses .txt files so it's much more limited than with a database. I'd recommend that, but this is a simpler answer... your choice.
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks