Jump to content

[SOLVED] Refreshing part of a page over and over..


Goose87

Recommended Posts

Dear all,

 

I apologise for my serious lack of knowledge in this area.. and i'm pretty sure that you can't use php, but i just need advice + some support if that's possible.

 

I have recently added a chat feature to my website.  It currently displays on every page in the title bar.  It displays 30 rows of chat and updates every time the page is changed or refreshed.  I would like the mysql query that collects the latest messages to update every 5-10 seconds if that's possible.. or ideally... update when there is a new post.. that would be perfect..

 

Can someone point me in the right direction.  Or ideally, help me out with this.

 

Many thanks in advance.

 

Goose.

Link to comment
Share on other sites

Maybe it's a feature I should just forget about? That did cross my mind, but as it's just one query.. i didn't think it would be that bad.. meh.. to be honest, i will look into the code to do it, but I won't implement it.  It's just not what I need for that feature I think..

 

Thanks anyways all.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.