Hi I'm developing an instant messenger (AJAX/PHP/MYSQL) and I am currently working on a iframe which states if user is on/offline (the way this works is there is a field in the database which is default 'offline' which changes to 'online' when user logs in).
The problem is that it (the iframe) currently uses Javascript and it flickers when it refreshes (att the text).
I was wondering if there is an AJAX way so that it only updates when there is a change in the database rather than a set time (or a set time with no flicker), or a method with no iframe what-so-ever.
If anybody has any advice that would be much appreciated, thank you.