![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: May 2009
Posts: 6
OS: Vista
|
Please help Need php code to display comments on website
Hey all,
I am currently building a simple site which is just html and css. I have mastered that. But i also want to include a feedback section where visitors can leave their comments by filling out forms. There are only 2 fields: Name and Comments. And after they submit their comments, i would like it to be displayed on the website. Its very hard for me and i will greatly appreciate any help with the code. Thanks.. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,880
OS: Vista, various linux distros
|
Re: Please help Need php code to display comments on website
Hey, without a server-side language this is impossible, my only suggestion is that if you haven't done so already you should learn PHP... There are some very good tutorials here: http://www.w3schools.com
Cheers, Jamey |
|
|
|
|
|
#3 (permalink) |
|
Design Team
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)
|
Re: Please help Need php code to display comments on website
As Jamey said above, you will need a server-side language to efficiently store the information and repost it. If you would like to do it yourself, I recommend learning PHP from W3 Schools.
If you would like to use a script or maybe just analyze the code of the script, check out DRBGuestbook.
__________________
Nice music blog ![]() Nvu || Notepad++ || Apache || PHP || Keep TSF Alive "The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier." |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Feb 2009
Posts: 28
OS: Windows Vista
|
Re: Please help Need php code to display comments on website
Something I found VERY useful recently is here: http://www.ibm.com/developerworks/op...ace/index.html
It's a very nice system - you can bypass the user registration, etc if you want any visitor to be able to post comments. |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Nov 2007
Posts: 388
OS: Mac OS X 10.5.7 and XP SP2
|
Re: Please help Need php code to display comments on website
Yep, I recommend you go to the link Jamey posted and learn PHP. That should be a simple first project to start out with, it will come out exactly how you want it, and you'll feel great that you were able to create it yourself.
|
|
|
|
|
|
#6 (permalink) |
|
Troubled
Join Date: May 2009
Posts: 71
OS: Computer = WXP, Server = linux w/ php 5
|
Re: Please help Need php code to display comments on website
www.js-kit.com
simple html code |
|
|
|
|
|
#7 (permalink) | |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,880
OS: Vista, various linux distros
|
Re: Please help Need php code to display comments on website
Quote:
|
|
|
|
|
|
|
#9 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,880
OS: Vista, various linux distros
|
Re: Please help Need php code to display comments on website
Yep, but the
Code:
<script ...src="their source"></script> |
|
|
|
|
|
#10 (permalink) |
|
Registered User
Join Date: Nov 2007
Posts: 388
OS: Mac OS X 10.5.7 and XP SP2
|
Re: Please help Need php code to display comments on website
No, I've used js-kit before and it actually is pretty close to what the OP is looking for. I believe it uses ajax to store all the posts server side on some server owned by the people who made the script.
|
|
|
|
|
|
#11 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,880
OS: Vista, various linux distros
|
Re: Please help Need php code to display comments on website
Ahh okay, thought JS-Kit was straight up JS, didn't know there were ajax submissions, my badd.
|
|
|
|
![]() |
| Thread Tools | |
|
|