View Full Version : Need a code for a comment section
Mehok
09-17-2007, 12:54 PM
i am looking for a comment section for my website like the one on this website
http://www.anadesign.info/blog/css-tutorials/css-tableless-form
please use detailed description as i am a beginner
also
i need some template ideas free or otherwise
boogyman
09-17-2007, 01:51 PM
if you want someone to just send in a comment to you, the link you provided is a tutorial on how to create the form, then you would need some type of server-side language like PHP to handle and actually send the email, or you can use a free service like bravenet.com.
if you have PHP available on your server look at a couple of these threads and they will help you.
http://www.dynamicdrive.com/forums/showthread.php?t=23331&highlight=php+email
http://www.dynamicdrive.com/forums/showthread.php?t=24036&highlight=php+email
http://www.dynamicdrive.com/forums/showthread.php?t=22130&highlight=php+email
google is your friend (http://www.google.com/search?hl=en&q=php+email+tutorial&btnG=Google+Search)
Mehok
09-17-2007, 06:52 PM
no no u got it wrong i have a php form mail proggie
on that site there is a post a comment section that is what i am trying to recreate for my site
boogyman
09-17-2007, 07:14 PM
oh okay, well for that you would need to have a database, such as MySQL. you would populate the database fields according to whatever fields you have selected for the user to have, and probably a date format (http://us3.php.net/manual/en/function.date.php) of some type. then you would create a query that would grab the posts from the database, and sort them by date... either desc or asc depending on how you would want to show on the page.
have a look at this
http://www.php-mysql-tutorial.com/mysql-php-guestbook.php
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.