Ajax and PHP comments

Discussion in 'JavaScript' started by cavendano, Jul 4, 2009.

  1. #1
    I have been looking for some code that would allow me users to go into a news topic and comment it.
    I have gone through different lines of code and although they do save to a database on reload its gone.

    Any help would be appreciated.
     
    cavendano, Jul 4, 2009 IP
  2. Wrighty

    Wrighty Peon

    Messages:
    199
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What code are you using currently?
     
    Wrighty, Jul 5, 2009 IP
  3. cavendano

    cavendano Well-Known Member

    Messages:
    360
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    130
    #3
    cavendano, Jul 5, 2009 IP
  4. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Maybe make sure that the database and the folder containing the database has the right permissions set (Read and Write). If you have tried multiple scripts then the issue is most likely not with the script itself.
     
    camjohnson95, Jul 5, 2009 IP
  5. zaczebra

    zaczebra Peon

    Messages:
    654
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Try this thread for more info...
    http://forums.digitalpoint.com/showthread.php?t=1007567

    Check out another very simple demo

    If that is what you are after here is a walkthrough of the code required to produce this simple comment effect

    more stuff from ibm here :)

    ajax shoutbox script here

    I would personally recommend using the mootools javascript framework to create your comment form

    An example of this being done can be found here
     
    zaczebra, Jul 19, 2009 IP