I\'m looking into doing some long polling with jQuery and PHP for a message system. I\'m curious to know the best/most efficient way to achieve this. I\'m basing is off this Sim
Instead of creating a column named last_checked, you could create a column called: checked. If you save all messages in the database, you could update the field in the database. Example: