Comments/feedback Form - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › Comments/feedback Form (622 Views)
1 Reply
| Comments/feedback Form by gdcomms(op): 3:04pm On Jun 10, 2010 |
Hello guys.Pls can you assist me with some scripts/explanation on how to create Users Comments/Feedback page? When you visit especially wordpress sites,users can leave their comments and these comments appear immediately after submision. I don't know whether am explicit enough. Thanks for your assistance. |
| Re: Comments/feedback Form by owner(m): 12:28am On Jun 11, 2010 |
Use htmlcommentbox dot com. That is d Best! |
| Re: Comments/feedback Form by DualCore1: 7:11am On Jun 11, 2010 |
Saw this yesterday and just went past it cuz I wasnt ready to do any brain work ![]() Here's what I thought of at a time when I was suppose to be sleeping. Create a simple form with the fields "Name", "Email" and "Comments". Use jquery's hide() to hide it until its needed. Use jquery's fadeIn() to bring it up on a user's action like a click on the "Make Comment" button. When the user fills the form, use jquery's ajax() to transfer the form to its processor, which will be a php file. All the php file does is insert all fields into the database. Once that is done, it returns true and ajax() picks that up as "success" and says "thank you" or any other defined message to the user. Then you add jquery's hide() method to the comment form again so it disappears after a comment has been made. To get the comments from the database you can create a table and run it through a while loop so that the table is populated with comments from the database. Something like while($row=mysql_fetch_array($result). . . Ok, there's no guarantee this will work and I accept no responsibility for any time wasted if this doesn't work. I just woke. ![]() |
Please Help Me Review This Website, Njbase.com [need Ur Feedback] • New Business Idea - Need Feedback [survey] • Feedback And "contact Us", Are They The Same? • 2 • 3 • 4
Link Exchange • Joomla Expert Please • Urgently Need An Experienced Web Developer
