Show one at a time?
I have a script on my website that shows messsages from a mysql database. Now开发者_JAVA技巧 I want to make it so it only pops up one message at a time. Anyone want to shed some light on this?
Windows Vista
PHP - Mysql - Ajax - JSI can't really provide a code sample but here is some pseudocode:
if(ID == 1)
{
// SHOW ID++;
}
// Show #2
Set up a callback that pulls and pops up the new message, then schedules the callback again if a message was successfully pulled and shown.
精彩评论