I am working on a live chat function, I have everything working except the message retrieval and displaying function, I am storeing all the messages on my server in a table, I am trying to make a function now to retrieve the most recent message entered and display it in the chat box. I am new to ajax, so I am styill figuring it all out, I can make the function to pull the information out using PHP but I am having trouble making the function to display the information without refreshing the page and allow for the scrolling. The place the information I want to be displayed is called "chatBox" and the table I am pulling from is called "chatRoom" if anyone is willing to help me out with this I would appreciate it very much.
GraficRegret 0 Junior Poster
GraficRegret 0 Junior Poster
Dani 4,294 The Queen of DaniWeb Administrator Featured Poster Premium Member
GraficRegret 0 Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.