Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2010
    Location
    Maine
    Posts
    32
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Question Attempting to Create a Comment Feed on Site?

    I'm creating a website for a class assignment and we each have to do two articles about a totalitarian regime then collaborate for the site. With Me being the only one who knows how to code, I'm doing the coding. Anyway, we want to add a live and auto-post comment feed to the bottom of each article so that people can add their feedback and ideas to it. I'm trying to learn how to code it myself for future references, and would love to refrain from going to a gadget site and just downloading a pre-made one.

    I know that this mainly deals with PHP, but I've been reading (across the web) about it and found out that it also deals with a mySQL table. I know quite a bit of HTML and CSS proficiently (and as you can tell, I search the things I don't know) but I haven't gotten into mySQL (though I've heard it's the easiest coding language?) and know minimal PHP (I've created a php file for a form I created on an earlier site and that's it). How is it I would do this? I've found a few places that have examples and how-tos, but they don't really explain the code much ( http://www.zimmertech.com/tutorials/...t-tutorial.php is one of them).

    Can someone either go in-depth or log into AIM to help me through it live? I need to get this coded TONIGHT if possible and definitely by tomorrow so I can post our articles that we have done for our english teacher to look at. ANY HELP WOULD DO, even if one person explains the mySQL table required, another the php for posting it and another for making sure I get the right connection from the form on the page to the php file.

    THANKS IN ADVANCE!

    deflipp

  • #2
    Super Moderator guelphdad's Avatar
    Join Date
    Mar 2006
    Location
    St. Catharines, Ontario Canada
    Posts
    2,634
    Thanks
    4
    Thanked 148 Times in 139 Posts
    That's way too complicated for what you'd need. Find something basic to work with. Something like this: http://www.freewebmasterhelp.com/tutorials/phpmysql

    Do you have php and mysql installed and working together over a server? I'd think that would take longer to set up.
    Last edited by guelphdad; 04-19-2010 at 03:10 AM.

  • Users who have thanked guelphdad for this post:

    deflipp (04-19-2010)

  • #3
    New Coder
    Join Date
    Apr 2010
    Location
    Maine
    Posts
    32
    Thanks
    6
    Thanked 0 Times in 0 Posts
    I do have PHP and mySQL on my hosting. I KNEW that that particular site was too complex, but it's soooo difficult to find things online on the topic... most things just don't help. I'm going to go and check your link and tell you how it works out.

    EDIT:

    Okay, I read the tutorial you linked me to which definitely helped with the mySQL startup and connections. Now here's my major question: the example they use is for Contact Management, but how would I apply this process to a comment feed type of thing?

    EDIT 2:

    I found a perfect resource for me and, with the help of your tutorial, I think I know how to do it now.

    Thanks SO MUCH.
    Last edited by deflipp; 04-19-2010 at 07:16 AM. Reason: Read the tutorial and then found another site to help substantially.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •