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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 07-16-2009, 11:28 PM   #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..
georgey12345 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 07-17-2009, 03:33 AM   #2 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
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
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-17-2009, 08:13 AM   #3 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

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."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-19-2009, 09:08 AM   #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.
colinhall is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-19-2009, 10:14 PM   #5 (permalink)
Registered User
 
FredT's Avatar
 
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.
FredT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-20-2009, 12:12 AM   #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
calthephenom is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-20-2009, 04:14 AM   #7 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
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:
Originally Posted by calthephenom View Post
www.js-kit.com
simple js code
Fixed.
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-20-2009, 10:41 AM   #8 (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

Quote:
Originally Posted by jamiemac2005 View Post
Fixed.
they just give you a html embed code, it is, a js code, but it is masked as a html
calthephenom is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-20-2009, 03:25 PM   #9 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
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>
is hardly the sort of HTML you're after, it's still JS. W3Schools is the best place to learn HTML, CSS, JS, PHP and so on from scratch... PHP.Net is the best place to get PHP examples and documentation... JS Kit is based around JS and client side only, for what the OP needs it's useless.
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-20-2009, 07:15 PM   #10 (permalink)
Registered User
 
FredT's Avatar
 
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.
FredT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-20-2009, 08:25 PM   #11 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
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.
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 07:58 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85