开发者

Show one at a time?

开发者 https://www.devze.com 2022-12-24 08:45 出处:网络
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?

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 - JS

I 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消